explain the basic structure of java program
Answers
Answered by
23
A Java program may contain several class definitions, classes are an essential part of any Java program. ... A class is a collection of variables and methods that operate on the fields. Every program in Java will have at least one class with the main method.
Answered by
10
Answer:
A Java program may contain several class definitions, classes are an essential part of any Java program. It defines the information about the user-defined classes in a program.
A class is a collection of variables and methods that operate on the fields. Every program in Java will have at least one class with the main method.
Similar questions