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
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What is difference between variable declaration and definition?
What is use of a abstract variable?
How do you delete a list in java?
What is the order of method invocation in an Applet?
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
Can we convert stringbuilder to string in java?
Howmany number of objects we can store in an ArrayList. Is there any limit?
Distinguish method overloading and overriding
difference between byte stream class and character stream class?
Why string is a class?
What is the use of an interface?