what modifiers are used with top-level class?

Answers were Sorted based on User's Feedback



what modifiers are used with top-level class?..

Answer / deepak cuttack

top level class must be final,abstract,public

Is This Answer Correct ?    4 Yes 2 No

what modifiers are used with top-level class?..

Answer / java guru

default and public

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Core Java Interview Questions

Does every java program need a main?

0 Answers  


What is nested loop? What is dangling else condition in it?

0 Answers   Ericsson,


Which containers use a flowlayout as their default layout in java programming?

0 Answers  


what is the meaning of java.lang and java.util

6 Answers  


What is diamond operator in java?

0 Answers  






Explain the use of volatile field modifier?

0 Answers  


State the merge-sort principle and its time complexity.

0 Answers   Akamai Technologies,


What is difference between class and object in java?

0 Answers  


What does system out println () do?

0 Answers  


What is difference between hash mapping and hash table?

5 Answers   NDS, Wipro,


What is lastindexof in java?

0 Answers  


What is the multilevel inheritance. and also give the Example of it ?

5 Answers  


Categories