Java - Creating Object

By
Ratish, Arya
(2012-05-26)

Video

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. Pre-requisite: Java - Creating Class

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: http://doer.col.org/handle/123456789/8595