Answer Posted / zahid hussain
polymorphism mean created a object which have many forms
method overloading and method overriding are these concept of polymorphism.
eg. a room have a electricity button which perform many functionality like on tube light, on bulb, on fan etc. one object button but perform many function..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
What are the components of marker interface?
What is a superclass in oop?
What does enum stand for?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Can we create object of interface?
write string class as your own class in java without using any built-in function
What does <> mean pseudocode?
Why do we use polymorphism?
write knight tour problem which is present in datastructure
What are the 4 main oop principles?
What is an advantage of polymorphism?
What is encapsulation in oops?
What is the importance of oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }