waht happens when a return type ,even void is specified for
a constructor?
Answer Posted / guest
You will get a compile time error as , Construcors only
initialize values and does not return any thing.
| Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
How will you compute size of a structure?
What is a methodologist?
What is an abstract method in java programming?
What is instance synchronization?
What is difference between an object and a class?
Should database connections be singleton?
Explain public static void main(string args[]) in java.
Do I need java on my computer?
What is an escape character in java?
Why are lists ordered in java?
Explain list interface?
What is independent and dependent variables in research?
Does constructor creates the object ?
Can you make a constructor final in Java?
What is the purpose of garbage collection in java? When is it used?