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);
}
}
Describe what a thread-local variable is in java?
What is the final class?
Why put method is used?
What is the largest data type in java?
can any body body expalin best definitions & best real time exaples for opps concepts.
How can we achieve thread safety in java?
How are variables stored in memory?
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.....
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What variables are stored in stack?
Is singleton a bad practice?
explain the life cycle of thread?
10 Answers CTS, NIIT, TCS,