// Program to explain Wrapper class with function.
class Wrapper3
{
static int func(Integer v)
{
return v ;
}public static void main(String args[ ])
{
Integer iOb = func(100);
System.out.println(iOb);
}
}
Output:100
// Program to explain Wrapper class with function.
class Wrapper3
{
static int func(Integer v)
{
return v ;
}public static void main(String args[ ])
{
Integer iOb = func(100);
System.out.println(iOb);
}
}
Output:100
toLowerCase() method example in Java
Program to use Applet with init(), start() and paint() in Java
Program to use suspend( ) and resume( ) method in Java
Swaping of Variables using third Variable in Java
Program to draw oval in Applet using drawOval() method in Java
Simple string function example in Java
Program to use Applet with Button and it's event in Java
Increment Operator Example in Java
Program to draw rectangle in Applet using drawRect() method in Java
Program to read data from Keyboard using BufferedReader class in Java
Client \ Server program using Socket and ServerSocket class in Java
Program to Find maximum number in Java
Program to read data from text file using FileReader in Java
Program to use GridLayout in Java