Answer Posted / venkatesh
Constructor donot return any data.it is mainly used for
initialization i.e one time activity like database
connectiviy, constructors are automatically invoked when
created objects created.
| Is This Answer Correct ? | 32 Yes | 2 No |
Post New Answer View All Answers
What is outofmemoryerror in java?
Which of the following is not an isolation level in the JDBC
What is an object's lock and which object's have locks in java programming?
Explain the overview of UDP messaging.
What is the difference between int and integer in java?
How to display all the prime numbers between 1 and 100
What is number data type in java?
How hashmap works in java?
How many java versions are there?
What is use of arraylist in java?
When throws keyword is used?
What is the difference between public, private, protected, and friend access?
What is nested interface?
Can set contain duplicates?
Can a constructor be private and how are this() and super() method used with constructor?