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

Can we override protected method in java?

0 Answers  


Can you give names of Container classes?

0 Answers   Ordain Solutions,


What is constructor and virtual function?

5 Answers  


How many types of classes are there in java?

0 Answers  


what is the difference between statis block and static variable

7 Answers  






How to declare objects of a class ?

0 Answers   Akamai Technologies,


System.out.println("somestring"); It will create any object or not

5 Answers   CSC,


Define max and min heap, also the search time of heap.

0 Answers   GrapeCity,


Is it possible to create object with out its default constructor? if possible how? else not possible? justify

5 Answers  


How does a cookie work in Servlets?

0 Answers  


What are the override methods in Object class?

2 Answers   Tech Mahindra, Wipro,


What is an error in java?

0 Answers  


Categories