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

Describe what a thread-local variable is in java?

0 Answers  


What is the final class?

0 Answers  


Why put method is used?

0 Answers  


What is the largest data type in java?

0 Answers  


can any body body expalin best definitions & best real time exaples for opps concepts.

0 Answers   Accel,


How can we achieve thread safety in java?

0 Answers  


How are variables stored in memory?

0 Answers  


There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....

5 Answers  


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

0 Answers  


What variables are stored in stack?

0 Answers  


Is singleton a bad practice?

0 Answers  


explain the life cycle of thread?

10 Answers   CTS, NIIT, TCS,


Categories