GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 236 of 258    Print  
can u tell me brief decription about oops concepts(total) with examples

  
Total Answers and Comments: 2 Last Update: October 06, 2006     Asked by: Raj 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Gupta Pravin Kumar
 
ENCAPSULATION: It is the data binds together code and the data it manipulates and keeps them safe from outside interference and misuse. When data and code are linked together in this fashion, an object is created. In other words an object is the device that supports encapsulation.POLYMORPHISM: The name itself suggests that “POLY” stands for many and “MORPHISM” stands for forms. Polymorphism is the quality that allows one name to be used for two or more related but technically different purposes. In general giving multiple interfaces to a function or an operator is called “POLYMORPHISM”.INHERITANCE: Inheritance is the process by which one object can acquire the properties of another. The best example for this is C,C++, and JAVA languages itself. Java is being derived from C++ which in return is being derived from C from where it inherits all the capabilities of C,C++ and also add the features of its own.

Above answer was rated as good by the following members:
shelender.sarswat
October 03, 2006 03:45:50   #1  
vishal gaikwad        

RE: can u tell me brief decription about oops concepts...

OOPS is object oriented programmingit consist of classes and objects it includes

1.abstraction(data hiding)

2.inheritance(reusability)

3.polymorphism


 
Is this answer useful? Yes | No
October 06, 2006 00:40:56   #2  
Gupta Pravin Kumar        

RE: can u tell me brief decription about oops concepts...
ENCAPSULATION: It is the data binds together code and the data it manipulates and keeps them safe from outside interference and misuse. When data and code are linked together in this fashion an object is created. In other words an object is the device that supports encapsulation.POLYMORPHISM: The name itself suggests that POLY stands for many and MORPHISM stands for forms. Polymorphism is the quality that allows one name to be used for two or more related but technically different purposes. In general giving multiple interfaces to a function or an operator is called POLYMORPHISM .INHERITANCE: Inheritance is the process by which one object can acquire the properties of another. The best example for this is C C++ and JAVA languages itself. Java is being derived from C++ which in return is being derived from C from where it inherits all the capabilities of C C++ and also add the features of its own.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Latest Answer : I am giving below another example of code optimization you can follow for C++ program. As we all know prefix operators apply the operations of incrementing or decrementing as specified and the new value is stored. In case of postfix operator the operations ...

I have just started doing OOP design. My experience has been in RDBMS. Where we work with tables, relation between them defined using foreign keys. Can anyone pl. help in designing classes for a simple case here. There are two tables (states, districts). Districts contains stateId as foreign key. So state to district 1-many relation is there. Such things how do we design in oops. Thanx in advance
Read Answers (2) | Asked by : sudha
Tags : RDBMS, OOPS

Latest Answer : OOPs is closer to real life representation of the objects which we want to program.Hierarchical relationships can be represented using inheriatnce. Data can be divided as public and private -- also we can provide interface for entering and validating ...
Read Answers (2) | Asked by : ritu
Tags : OOPS

Latest Answer : A friend function can access all private protected and public data of a class. A class has to declare a function or another class as a friend. Also the friendship is one way. Class A is friend of class B does not mean that class B is friend of class A. ...
Read Answers (1) | Asked by : vasanthakumar
Tags : OOPS

Can the function by which we get values for object strictly follow the data hiding rule in oops?if no,why?e.g void student ::getdata() { coutname; - - - - }void main(){ student s; s.getdata(); getch();}
View Question | Asked by : anshul sood
Tags : OOPS

Latest Answer : Public Class MySample     Public Shared Sub Main()           Console.WriteLine("Hello World")     End SubEnd ClassForm the above example, it is well understood ...
Read Answers (1) | Asked by : vamshijk
Tags : OOPS

Latest Answer : OOPs is Object Oriented Programming.The great thing about OOPs is that is all about classes and objects which can easily correlated with real life scenarios.Class is the general thing and object is the specilisation of general thingFor example if ...
Read Answers (1) | Asked by : kalps
Tags : OOPS

Latest Answer : ENCAPSULATION: It is the data binds together code and the data it manipulates and keeps them safe from outside interference and misuse. When data and code are linked together in this fashion, an object is created. In other words an object is the device ...
Read Answers (2) | Asked by : Raj
Tags : OOPS

Latest Answer : The main use of oops is that1.code reusability2.program code reduction ...
Read Answers (7) | Asked by : Bir Bahadur Karki
Tags : OOPS

Latest Answer : Personally I find oops code can get very hard to read, even well written code. The problem is inheritance and polymorphism.The problem with inheritance is that if you want to figure out what a given method does, you have to search up the class hierarchy ...
Read Answers (2) | Asked by : S. Chinnadurai
Tags : OOPS


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

SOA Concepts

SOA Concepts Today the concept of Service Oriented Architecture has become ubiquitous Evidence from recent years establish that SOA is not just about hype but a part of every major Business environment The truth is Service Oriented Architecture can be beneficial to Business only when it is utilized
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Web 2.0 Concepts

Web 2 0 Concepts There are a number of important innovations which are expected to play a pivotal role in the introduction of Web 2 0 Some of these innovations are applications that are web based One of the most powerful tools that has allowed this is Ajax mosgoogle Ajax is powerful because it has n
 

Structured Query Language (SQL) - Basic Concepts

Structured Query Language SQL Basic Concepts Having query about what a SQL is It is Structured Query language It is a non procedural language and it is a database language mosgoogle Categories in SQL commands There are 3 broad categories in SQL commands They are namely Data Definition language DDL
 

The Inheritance Concept In OOPs

The Inheritance Concept In OOPs In object oriented programming objects will be characterised by classes It is possible to learn a lot about an object based on the class it belongs to Even if you are not familiar with the name Maybach If I told you it is a car you would immediately know that it has f
 

Concepts of Function

Concepts of Function In this C Tutorial you will learn about concepts of function What is a function Features of Function Declaring a Function Defining a function and Calling the function mosgoogle What is a function A function is a structure that has a number of program statements grouped as a unit
 

Understanding The Message Concept In OOPs

Understanding The Message Concept In OOPs To understand object oriented programming you will need to become familiar with messages As the name implies a message is a process in which software objects will communicate with one another Because of this having one object is not enough mosgoogle An objec
 

Object Oriented Programming Concepts

Object Oriented Programming Concepts Three of the most basic concepts for object oriented programming are Classes Objects and Methods However there are a few more concepts that you will want to become familiar with These are Inheritance Abstraction Polymorphism Event and Encapsulation mosgoogle In t
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape