Dear Sir, I have the latest version of eclipse. In the video clip the speaker has removed the static main method. Wheras in my computer it prompts me saying that there is an error in the program, and to add the static main method.In the next video(Instance Fields) (somewhere around 6-7 minutes) she runs the program,and it prints the statments, but when I did it, it showed me error.Please help me.
257 visits
Outline:Creating Object *An object is an instance of a class *Each object consist of state and behavior *Object stores it state in fields or variables *It exposes its behavior through methods *Reference variables *Create a class named TestStudent *Create an object of the Student class *Use new operator *Check what the reference variable contains *Create one more object of the Student class and check what the reference variable contains
Creating Object *An object is an instance of a class *Each object consist of state and behavior *Object stores it state in fields or variables *It exposes its behavior through methods *Reference variables *Create a class named TestStudent *Create an object of the Student class *Use new operator *Check what the reference variable contains *Create one more object of the Student class and check what the reference variable contains
Show video info
Pre-requisite