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 array and arraylist in java?
What are some alternatives to inheritance?
Why declare Main() inside the class in java ?
How many bytes is a char in java?
What do you mean by ordered and sorted in collections in java?
What is the difference between a factory and abstract factory pattern?
What is string intern in java?
What is the inheritance?
Explain the difference between collection api and stream api in java8?
Can we write method inside a method in java?
Can you make a constructor final in Java?
Why put method is used?
What data structures are used to perform recursion?
I want to store more than 10 objects in a remote server? Which methodology will follow?
Why is the main method static?