sample1paramn num = n;
num = n;
getNumreturnint return num;
return num;
returnint sample1 obj(2112); /** @c2j++ Replacement from cout << obj.getNum(); System.out.print(String.valueOf(obj.getNum()));*/ System.out.print(String.valueOf(obj.getNum())); return 0;
sample1 obj(2112); /** @c2j++ Replacement from cout << obj.getNum(); System.out.print(String.valueOf(obj.getNum()));*/ System.out.print(String.valueOf(obj.getNum())); return 0;