What is the final variable?
Answer / nashiinformaticssolutions
In Java, a final variable is one that, once initialized, cannot be altered.
| Is This Answer Correct ? | 0 Yes | 0 No |
why java is platform independent?
What are the different types of multitasking?
Why do we use variables?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
Explain Basics of OOP Language in java
What is the difference between comparison done by equals method and == operator?
What is java instanceof operator?
Can we extend the String class?
What's the purpose of static methods and static variables?
What is access modifiers?
what is jndi?
What is difference in between java class and bean?