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 |
What is command line used for?
What is a boolean expression in java?
Explain about anonymous inner classes ?
what is Portal(web based online portal)?
Explain the difference between association, aggregation and inheritance relationships.
In java, what is the difference between method overloading and method overriding?
what are class,constructor and primitive data types?
What classes can be used to store arbitrary number of objects ?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Write a function for palindrome and factorial and explain?
0 Answers Honeywell, Huawei, Zomato,
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); } }