10. What is the output of the following Java program?
class Main {
public static void main(String args[]){
final int i;
i = 10;
System.out.println(i);
}
}

10. What is the output of the following Java program?
class Main {
public static void main(String args[]){
final int i;
i = 10;
System.out.println(i);
}
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the exact difference in between Unicast and Multicast object? Where will it be used?

0 Answers  


How can we pass argument to a function by reference instead of pass by value?

0 Answers  


What JNDI(Java Naming and Directory Interface) provides?

4 Answers  


How to create a thread in java?

0 Answers  


Where pragma is used?

0 Answers  






Difference between keyword and identifier.

0 Answers   TCS,


Outline the major features of java.

0 Answers  


can any one send me the example program of immutable class?

2 Answers   Arfin, TCS,


Mention some features of java?

0 Answers  


How does class forname work in java?

0 Answers  


What is another word for methodology?

0 Answers  


What is the numeric promotion?

0 Answers  


Categories