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

How can a gui component handle its own events in java programming?

0 Answers  


Does garbage collection occur in permanent generation space in jvm?

0 Answers  


What is the difference between Synchronizing mehtod & Synchronizing block?

2 Answers  


What is the purpose of declaring a variable as final?

0 Answers  


What is the SimpleTimeZone class?

0 Answers  






What is meant by JVM ?

6 Answers  


What is the role of the java.rmi.naming class?

0 Answers  


What is string value?

0 Answers  


why pointer is not used in java?

3 Answers  


Is map ordered in java?

0 Answers  


Is string a wrapper class?

0 Answers  


What is default constructors?

0 Answers  


Categories