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 destructor example?
Are polymorphisms mutations?
Why is static class not inherited?
What is difference between multiple inheritance and multilevel inheritance?
What is balance factor?
What are the benefits of interface?
Can a varargs method be overloaded?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is pointer in oop?
What does <> mean pseudocode?
What is polymorphism explain its types?
Why do we use oops?
Can we create object of abstract class?
What is abstract class in oops?
What are the data types in oop?