Does Java have a default constructor?

2

In a book called "Java in depth" it was specified that when creating a class in Java it was a default constructor. But, in a question from the Android App SoloLearn it appeared that the default constructors in Java do not exist. Which of the 2 is right?

    
asked by X_Xmeloxx2 16.04.2018 в 18:03
source

1 answer

1

well in fact I read that by not creating a constructor within your code, the compiler will do so having a structure of Constructor(){} which is a default constructor I invite you to read more in the following link:

link

    
answered by 16.04.2018 / 18:08
source