Answer Posted / dinesh
OVERLOADING:Two methods are having same name and different arguments in same class
OVERRIDING: Two methods are having same name and same arguments also same return types in its class and sub class (from 1.5 on words co-varient return types also allowed this is applicable for only for object types not primitives)i.e some relation either parent to child or child to parent
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why is encapsulation used?
What is inheritance and how many types of inheritance?
What is constructor in oop?
Which language is not a true object oriented programming language?
What is static in oop?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What do you mean by overloading?
class type to basic type conversion
What is encapsulation in ict?
what type of question are asked in thoughtworks pair programming round ?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
why reinterpret cast is considered dangerous?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
write a C++ program for booking using constructor and destructor.
What is class encapsulation?