Answer Posted / sonam
You can prevent method overriding by declared method as
static
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Compare java and python.
What is immutable state?
What is a platform?
Which collection does not allow duplicates in java?
What are the drawbacks of singleton class?
What data structures are used to perform recursion?
What is join () in java?
What do you mean by local variable and instance variable?
What is the size of int in 64-bit jvm?
Can a static method be final?
What is difference between static class and normal class?
What are the difference between string, string builder, and string buffer in java?
What is a java predicate?
Why do we need wrapper class?
Give the hierarchy of inputstream and outputstream classes.