
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Every java program is built up with classes. To define rules & structure of a java program, we have the following
E.g: Public class students{ Public static void main(string[]args) { System.out.println(“Good morning students”) } } Public class: defines the class name students Public static void main (string