What does a constructor does?
Submitted by: AdministratorConstructor is a special type of function which is
available for every class.
Constructors can be used to create a object in different
forms.
Constructors can be used to execute a statements when
object is creating.
Constructors can be used to intialized the object
properties.
Submitted by: Administrator
available for every class.
Constructors can be used to create a object in different
forms.
Constructors can be used to execute a statements when
object is creating.
Constructors can be used to intialized the object
properties.
Submitted by: Administrator
Read Online SunOne Job Interview Questions And Answers
Top SunOne Questions
☺ | How to handle exceptions without using try,catch,throw, and log4j? |
☺ | What is swing and jsp. Where we use swings and jsp? |
☺ | What does a constructor does? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |