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 the difference between Object and Instance?
what is interface in java? Explain
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
Can you use abstract and final both with a method?
Which Component subclass is used for drawing and painting?
What are some examples of variable costs?
What are format specifiers in java?
how an we achive multiple inhetitance in java using interface..??
What is lastindexof in java?
What is primitive array?
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is return type in java?