java basic programs for practice code example
Example: java coding practice
package com.example.packagenames.are.reverse.domain.all.lowercase.seperated.by.dots;
public class TypeNamesArePascalCase(){
public static final String CONSTANTS_ARE_UPPER_CASE_WITH_UNDERSCORES="Hello World";
private int membersArePrivateAndCamelCase;
public int getMembersArePrivateAndCamelCase(){
return membersArePrivateAndCamelCase;
}
public void setMembersArePrivateAndCamelCase(int membersArePrivateAndCamelCase){
this.membersArePrivateAndCamelCase=membersArePrivateAndCamelCase;
}
public void methodsAreCamelCase(){
}
}
public enum EnumsAreTypes{
ENUM_CONSTANTS,ARE,CONSTANTS
}