6ydg
JCHJava Community | Help. Code. Learn.
•Created by 6ydg on 10/28/2024 in #java-help
Java constructors
As Ive read constructors are automatically run by java, but so is main () method, so whats their point and why cant I just put all of constructor code in front of main() method?
6 replies