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
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is overriding in oops?
What is static modifier?
What is static in oop?
What is the oops and benefits of oops programming?
what type of question are asked in thoughtworks pair programming round ?
What does and I oop and sksksk mean?
What is the main purpose of inheritance law?
write a C++ program for booking using constructor and destructor.
What is object in oops?
Why interface is used?
How is class defined?
What is difference between abstraction and encapsulation?
What is the real time example of inheritance?
Which language is pure oop?