Answer Posted / madhu kalla
if a language (supports)follows ObjectOrientedProgramming
concepts we can say it is a Object Oriented Programming.
Object Oriented Programing Concepts are:
1.class
2.object
3.Data Abstraction
4.Encapsulation
5.Polymorphism
6.Inheritnace
7.Message Communication
| Is This Answer Correct ? | 57 Yes | 4 No |
Post New Answer View All Answers
How do you achieve polymorphism?
Is enum a class?
What is the real life example of polymorphism?
What is the difference between static polymorphism and dynamic polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is cohesion in oop?
can inline function declare in private part of class?
What do you mean by overloading?
What makes a language oop?
Can you inherit a private class?
2. Give the different notations for the class.\
what is different between oops and c++
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.
What is polymorphism and types?