Can a constructor have different name than a class name in java?
Answer / Sana Parveen
No, a constructor's name must be the same as the class name in Java.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this
11 Answers IBM, L&T,
what is the use of clone() in real time scenario?
What are synchronized methods ?
What is the full form of jpeg?
What is a Java package and how is it used?
What is this keyword in java?
How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?
What is the difference between a switch statement and an if statement?
Why are lists ordered in java?
Is empty in java?
what is enumset?
What are the differences between getting and load method?