Loading...

Java Tutorial # 13 | Constructors and Object creation in Java | JAVA9S.com

45,401 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 26, 2012

Download the PPT and example code from
This tutorial explains about the Java constructors and how the constructors help to initialize the Java objects. I have explained about the constructors with arguments, default constructor and have mentioned about the rules that need to be remembered to program constructors. These rules are useful for the SCJP certification or OCJP certification exam. I have also explained about the usage of super() and this() and demonstrated how they can be used to invoke the super class constructors and their own constructors.
Finally i have explained about the Java references about how a super class type can refer a subclass type of object

Loading...

Advertisement
to add this to Watch Later

Add to

Loading playlists...