Creation should include the following syntax:
Sample code follows:
class SimpleBlock {
int a = 6;
public static void main(String args) {
System.out.println(“this is a simple block of code”);
System.out.println(“this is the value of a” + a);
}
}