Java Scrap Book  

Java Scrap Book > Java Coding Practice

Java Coding Practice

Case Sensitivity
Java is case sensitive language.

Class Names : All class names the first letter should be in Upper Case. If several words are used to form a name of the class, each inner word's first letter should be in Upper Case. Example class MyFirstJavaClass

Method Names : All method names should start with a Lower Case letter.
If several words are used to form the name of the method, then each inner word's first letter should be in Upper Case. Example public void myMethodName()

Program File Name : Name of the program file should exactly match the public class name. there will be only one public class in the program file.if public file name is Sample then file name should be Sample.java

public static void main(String args[]) - Java program processing starts from the main() method.


Copyright © 2013-2017

javascrapbook.com is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: javascrapbook2013@gmail.com