Answer Posted / jasbir kaur
polymorphism is the ability to take more than one form
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
#include
Is this job good for future? can do this job post grduate student?
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.
How is polymorphism achieved?
What is oops in simple words?
What is polymorphism used for?
How do you define social class?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Why is destructor used?
What is the types of inheritance?
What is object-oriented programming? Webopedia definition
How oops is better than procedural?
Why do we use oop?
What is constructor overloading in oop?
Is oop better than procedural?