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,