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

What is a class reference?

0 Answers  


What is the public field modifier?

0 Answers  


Why java is made?

0 Answers  


What happens if we don’t define serial version uid?

0 Answers  


What is the escape character in java?

0 Answers  






Can we declare the main method of our class as private?

0 Answers  


What is floor math?

0 Answers  


Can we extend immutable class?

0 Answers  


What is a two-pass assembler?

0 Answers   Syntel, Visa,


What are peerless components?

0 Answers  


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


What is the default initialized value of String type variable?

4 Answers  


Categories