Answer Posted / preeti
in overloading methods can have the same name but must
have different parameter lists i.e signature
while in overriding if you declare a field in a subclass
with the same name as one in the superclass, the superclass
field can only be accessed using super or the superclasses
type
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is difference between class and object with example?
What is a superclass in oop?
What is encapsulation in oop?
How do you define a class in oop?
What does oop mean in snapchat?
What does and I oop mean in text?
What are two types of polymorphism?
What is object in oop?
What do you mean by overloading?
Write a program to reverse a string using recursive function?
write a program that takes input in digits and display the result in words from 1 to 1000
What is polymorphism and example?
What is abstraction and encapsulation?
Can destructor be overloaded?
What is polymorphism in oops?