Answer Posted / diya
constructor is a special function whose task is to
initialise the object.the name of the constructor is as
same as the class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are different types of encoding?
What is class variable java?
Explain different types of wrapper classes in java?
Why pointers are not used in java?
What is the default size of set in java?
Is java an open source?
Explain the difference between extends thread vs implements runnable in java?
Is set sorted in java?
What is array length?
What is the indent key?
How do you add an element to a hashset in java?
Highest level event class of the event-delegation model?
How strings are created in java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Is integer passed by reference in java?