What are the OOPS concepts?

Answer Posted / tinku

The main OOP concepts are
1.Objects
2.Classes
3.Data abstraction
4.Data encapsulation
5.Inheritance
6.Polymorphism
7.Dynamic binding
8.Message passing

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why polymorphism is used in oops?

792


What is abstraction example?

834


Where You Can Use Interface in your Project

1620


What is basic concept of oop?

897


How is class defined?

830


What do you mean by abstraction?

819


What is polymorphism used for?

774


What is the fundamental idea of oop?

860


i got a backdoor offer in process global,Bangalore..Can i work with it?

2581


State what is encapsulation and friend function?

944


explain sub-type and sub class? atleast u have differ it into 4 points?

2043


program for insertion ,deletion,sorting in double link list

2445


What is class and example?

819


Please send ford technologies placement paper 2 my mail id

1845


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.

1862