Using Methods


#1



Replace this line with your code.


#2

do you have any problem?
is there anything you want to know?
please post your problem and tell us what do you want to know?


#3

Thank you for the help ,

By the way, since it is very case sensitive , when I should use "Age ", when I type "age ", what is the difference ?
Thanks


#4

Generally, all variables will start with lower case.
you can use Age or age.it'll not give you any error.but if you create a variable like
int age then you have to use continuously same case.you cant use Age.
because age and Age are not same case :slight_smile:

check Naming Conventions here


#5

Hi rcodeman ,

It really makes sense .

thanks

发件人: CodeisLife [mailto:codecademy@discoursemail.com]
发送时间: 2016年9月12日 星期一 下午 1:59
收件人: owen.chow@outlook.com
主题: [Codecademy Discuss] [Java/Object Oriented Programming] Using Methods

[https://discourse-cdn-sjc1.com/codecademy/user_avatar/discuss.codecademy.com/rcodeman/45/3847401_1.png]

rcodemanhttps://discuss.codecademy.com/users/rcodeman Super User
September 12

Generally, all variables will start with lower case.
you can use Age or age.it'll not give you any error.but if you create a variable like
int age then you have to use continuously same case.you cant use Age.
because age and Age are not same case [:slight_smile:]

check Naming Conventions herehttp://www.oracle.com/technetwork/java/codeconventions-135099.html

Visit Topichttps://discuss.codecademy.com/t/using-methods/59729/4 or reply to this email to respond.

In Reply To
[https://discourse-cdn-sjc1.com/codecademy/user_avatar/discuss.codecademy.com/great6062791/45/4472061_1.png]

great6062791https://discuss.codecademy.com/users/great6062791
September 12

Thank you for the help , By the way, since it is very case sensitive , when I should use "Age ", when I type "age ", what is the difference ? Thanks

Visit Topichttps://discuss.codecademy.com/t/using-methods/59729/4 or reply to this email to respond.

To unsubscribe from these emails, click herehttps://discuss.codecademy.com/email/unsubscribe/ab9dbf426a06366fc69393504d81479645692da4bf11b822d4419953c6dd7cb7.


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.