I am trying to understand this statment (LocalDate time = LocalDate.now()). Is now() in LocalDate.now() a kind of inner class or something?
I know constructors and I know that they are used to initialize the object instance variables. Constructors are called at object creation time. If now() is a static method, how does it work?
New contributor
Nazir Azizi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.