in your day 1 project setup, u are not following class structure. A Java class structure includes package declaration, import statements, class declaration (public class ClassName { ... }), static and instance variables, constructors, instance and static methods, and a main method for executable applications (public static void main(String[] args)). This structure ensures organized code with clear separation of concerns and adherence to Java programming conventions for readability and maintainability.
in your day 1 project setup, u are not following class structure. A Java class structure includes package declaration, import statements, class declaration (public class ClassName { ... }), static and instance variables, constructors, instance and static methods, and a main method for executable applications (public static void main(String[] args)). This structure ensures organized code with clear separation of concerns and adherence to Java programming conventions for readability and maintainability.