FileDocCategorySizeDatePackage
sample1.javaAPI DocExample655Mon Jan 18 13:55:12 GMT 1999None

sample1

public class sample1 extends Object

Fields Summary
int
num
Constructors Summary
public sample1(int n)
sample1

param
n

	num = n;
Methods Summary
public intgetNum()
getNum

return
int

	return num;
static intmain()

return
int

	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;