Home > Back-end >  Take a look at ~
Take a look at ~

Time:10-06

Learn the classes and objects... Speak really didn't understand... No c basis (blame me last semester... ) the teacher the assignment, want to know what I wrote ok shout
Requirements:
Member variables: three classes
Members method input three classes of grade
Members to define a method to calculate average

CodePudding user response:

Code when pay attention to the coding standards can be used to, member variables usually qualify for private properties, variable naming conventions generally adopts the hump nomenclature, see meaning, such as, for example (STR, stuName, stuString, etc.), i.e. lowercase for the first letter of the first word and capitalize the first letter after; Avoid using Java keyword named; Best to member variable, members are designated for access modifiers,

CodePudding user response:

1/f, reference source is a ghost reply:
code when pay attention to the coding standards can be used to, member variables usually qualify for private properties, variable naming conventions generally adopts the hump nomenclature, see meaning, such as, for example (STR, stuName, stuString, etc.), i.e. lowercase for the first letter of the first word and capitalize the first letter after; Avoid using Java keyword named; Best to member variable, members are designated for access modifiers,

Ok, thank you!

CodePudding user response:

https://blog.csdn.net/weixin_43720218/article/details/104858680 recommend personal blogs can refer to

CodePudding user response:

refer to the building of mulberry mulberry event response:
learn the classes and objects... Speak really didn't understand... No c basis (blame me last semester... ) the teacher the assignment, want to know what I wrote ok shout
Requirements:
Member variables: three classes
Members method input three classes of grade
Members to define a method to calculate average


Program can have more than one way to write, but as a topic, your application does not conform to, request to you to write a ScoreCalc classes and a test class, ScoreCalc class must have at least grade two methods calculating average and input, although you don't have the answer no problem, estimates or points,

CodePudding user response:

reference 3 floor concubine nai intended response:
https://blog.csdn.net/weixin_43720218/article/details/104858680 recommend a personal blog can refer to

Ok thank you!

CodePudding user response:

Well well, thank you!
  • Related