class Oops{
static void go(int x) { System.out.print("I'm "); }
static void go(long x) { System.out.print("In "); }
static void go(double x) { System.out.print("Depression"); }
public static void main(String [] args) {
byte b = 5;
long l = 5;
float f = 5.0f;
go(b);
go(l);
go(f);
}
}
Tuesday, October 12, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment