what are three tenets of object orinted Systems?Why they
call like that ?
Please answer me.
Advance thanks.

Answer Posted / santosh mundhe

Encapsulation, Polymorphism, and Inheritance these are
three main pillars of oops.

Because by using Encapsulation, Polymorphism, and
Inheritance we can achive data security , code
reuseability......

e.g.
Combining different properties together is known as
encapsulation. Means a class with private and public
properties, by making memberfunction private we can
restrict to access it from out side the class it's nothing
but data security.......

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use classes in oop?

667


How to hide the base class functionality in Inheritance?

738


What is the difference between abstraction and polymorphism?

714


Why do we use encapsulation in oops?

617


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2039






What is abstraction in oop with example?

742


How do you define a class in oop?

730


What does <> mean pseudocode?

714


Write a program to reverse a string using recursive function?

1879


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

2101


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.

1725


What is polymorphism in oops?

637


What is the full form of oops?

784


What is new keyword in oops?

686


Why do we use oops?

672