What is basic format of a java progaram ?explain with an example
Answers
Answered by
0
Answer:
In Java, a class definition starts with the word "class" (possibly preceded by the word "public" or "private"), continues with the name of the class and the character "{" (a left brace or curly bracket), and ends with the character "}" (a right brace). Inside the braces are definitions of methods and variables.
Similar questions