hi,
(For Information).Just try to answer the below question.Its purely based of fundamentals.
Q)What is the Output of the program.
public class Test{
public static void main(
String[] args){
int i=1234;
float f=1.0;
double d= 12.45;
System.out.println("i=" + i + " f= " + f + " d=" + d);
}
}
1) i=1234 f=1.0 d=12.45
2) Compilation Error
3) Run time Error
Regards
Prasad
------------------