Answer Posted / aburar yaseen
overloading:previous answers are correct.
overriding: overriding is possible only in inheritance.
we will have more than one methods in the same name with
same no. of arguments with same type in different classes.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is protected access modifier?
What is the difference between static class and normal class?
Explain access specifiers?
What is meant by local variable and instance variable?
How do you define a singleton class?
What is ‘is-a ‘ relationship in java?
What is the synonym of framework?
What is string :: npos?
What is widening and narrowing in java? Discuss with an example.
What is private static in java?
Can we start a thread twice in java?
Explain java coding standards for classes or java coding conventions for classes?
Can you access the private method from outside the class?
Can we access the non-final local variable, inside the local inner class?
What is meant by collection in java?