javascript
Brief description  about Online courses   join in Online courses
View DEBASIS  MUDULI 's Profile

datatype

sir is it a valid code
integer i=5;
short s=6;
long l=7;
sop(i s l);
Asked by DEBASIS MUDULI | Dec 23, 2010 |  Reply now
Replies (2)
View kannan krr 's Profile
data type is int not integer
Dec 24, 2010
View arun kumar das 's Profile
hi

go through following code, this is valid code.

class data
{
public static void main(String []as)
{
int i=5;
short s=6;
long l=7;
System.out.println("i= "+i+" s= "+s+" l= "+l);
}
}



java teacher
Dec 23, 2010