There are some of the ground rules while you are programming in JAVA. Before we start on writing the first program we will talk about common rules you must follow, which you must mock up.
- The file name must be same as the main class name you used.
- Class name must be start with the initial capital letter. Java is case sensitive language.
- Any classes you used in the program must start with the capital letter and the method name with small letter.
- The class file is obtained after the compilation of the program and it is the bytecode that can run in any platform which hava JDK.
No comments:
Post a Comment