What modifiers are used with a top level class?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
The modifiers for a top-leve class are:
public
abstract
final
strictfp
| Is This Answer Correct ? | 5 Yes | 2 No |
Why unicode is important?
What does i ++ mean in Java?
What is meant by data hiding in java?
What is super constructor?
What is the purpose of extern variable?
what is the difference between Cpp And Java
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap?
Difference between Array and vector?
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
what is method reference in java 8?
When does Exception occurs?
what is features of jdk 1.5?
2 Answers Accenture, Satyam, TCS,