I'm reviewing Java 8 classes of the Time package and I have a doubt about the classes without constructor like LocalDate class.
If you create a Java class, this class will always have a default constructor, nevertheless LocalDate hasn't constructor, that is to say, you can't do this:
LocalDate date = new LocalDate();
If you do this, you will get a compile error "the constructor LocalDate() is undefined".
Why LocalDate hasn't a default constructor?
And the most important question... How can I create a class without constructor that only can be instanced calling static methods?
Thank you very much and regards.