"Reason: Better format"
U should buy a pair of glasses and a book for Java.
I wont even read the code in the current format but in the blink of an eye i saw u are trying this:
class Kappa
{
private int num =0;
public Kappa(){
int num = 1;
}
public int getNum(){
return num;
}
}
class Keepo
{
public static void main(String args[]){
Kappa obj = new Kappa();
System.out.println(obj.getNum());
}
}
Thats wrong