Answer Posted / jasbir singh
a constructor method's name is same as the name of class,
secondly, you cannot manually call the constructor method
after creating the object.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is gpt and gpc? : java security
What is a stream in java?
Can we write lambda without functional interface?
Is java built on c?
Can I have multiple main methods in the same class?
What happens if javac is not recognized?
Can the main method be declared final?
How do I open my java console?
What is a container in java?
What type of parameter passing does java support?
What do I need to install netbeans?
What is gui in java with examples?
How can I swap two variables without using a third variable?
What is the java virtual machine (jvm)?
What is stateless in java?