Answer: Java does not actually require an explicit constructor in the class description. If you do not include a constructor, the Java compiler will create a default constructor in the byte code with an empty argument .
Read moreCan you have a class without constructors?
You don’t have to provide any constructors for your class, but you must be careful when doing this. The compiler automatically provides a no-argument, default constructor for any class without constructors .
Read moreWhat is a class without a constructor?
Unless the class is static, classes without constructors are given a public parameterless constructor by the C# compiler in order to enable class instantiation . For more information, see Static Classes and Static Class Members.
Read more