Explain role of constructor in a java application?
Answer Posted / harini
The main purpose of construtor is to initialize instance
variables.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is runtime locatable code?
Tell me about different OOPS concepts.
What is protected access modifier?
What do you mean by platform independence? What is an interface?
What are the five major types of reference sources?
Are global variables initialized to zero?
What is the difference between inheritance and encapsulation?
Can a class be a super class and a sub-class at the same time? Give example.
What is computer compiler?
What is the difference between dom and sax parser in java?
Explain an algorithm to find depth of a binary tree.
What is passing parameters in java?
What is the method overriding?
How to retrieve data from database in java using arraylist?
What is super?