Remember all lessons are now posted on Canvas. Submit all work to Canvas
Section 7 Lesson 1: Classes, Objects and Methods Vocabulary:
- A template used for making Java objects.
- An optional keyword used to access the members and methods of a class.
-
An instance of a class.
-
The operator used to create an instance of a class.
-
A built-in function of the Java VM that frees memory as objects are no longer needed or referenced.
-
A method that changes the state of an object.
-
A method that returns information about an object back to the calling program.
-
A procedure (changes the state of an object) or function (returns information about an object) that is encapsulated as part of a class.
-
A verb used to describe the act of creating a class object using the keyword new.
-
The process of assigning a default value to a variable. An object reference that has not been instantiated.
- An object reference that has not been instantiated.
- An optional method that is called just before an object is removed by the garbage collector.
-
The name of a variable that is associated with an object.
-
A special method used to create an instance of a class.
Begin work on the7 Lesson 1: Classes, Objects and Methods practice.
4, 5 and 6 - Create the Student class and StudentDriver class. Assume GPA is Quality points divided by credits.
Ask the user if they would like to enter a new student and then prompt for the name, credits and quality points. Then print out the information entered with the calculated GPA.