Answer Posted / subrat
This is what differenciates constructor from a method. If
constructor have a return type then the JVM will not treat
constructor as constructor but as method.
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is compareto () in java?
What languages are pass by reference?
What are the main uses of java?
What is meant by memory leak?
What are the steps in the jdbc connection?
How do I remove a character from a string in java?
What is a method vs function?
Give me an example of array and linked list? Where they can be used?
Differentiate between a class and an object.
How many types of memory areas are allocated by jvm?
What is a layout manager and what are different types of layout managers available in java awt?
what is predefined function in java?
Why object class is super class for every class in java?
Can a function return a function?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.