how to define a constructor outside class in java?

In Java, you cannot define a constructor outside of a class.

Leave a Comment