What are the different forms of polymorphism??

Answer Posted / purba phalguni mishra

(1). Operator overloading.
(2). Function overloading.
(3). Virtual functions

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of oops?

631


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1158


Give two or more real cenario of virtual function and vertual object

1863


What is encapsulation c#?

620


when to use 'mutable' keyword and when to use 'const cast' in c++

1657






What does and I oop and sksksk mean?

671


What is property in oops?

579


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2021


is there any choice in opting subjects like 4 out of 7

1741


What are the data types in oop?

621


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1647


What is advantage of inheritance?

703


How to improve object oriented design skills?

583


What is the advantage of oop over procedural language?

638


Can a destructor be called directly?

619