Computer Science, asked by Anjli2590, 1 year ago

Should a constructor always have the same name as the class in java?

Answers

Answered by Hriddhi
4

No, a constructor don't have the same name as the class in JAVA.

Similar questions