Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books

Object oriented programming


By Nishant Kumar

What is object oriented programming (OOP)?
What are the various elements of OOP?
Explain an object, class and Method.
Define Encapsulation and Information Hiding in OOP.
Explain Inheritance and Polymorphism in OOP.
What are the advantages of OOP?

 

What is OOP?

Answer: The object oriented programming is commonly known as OOP. Most of the languages are developed using OOP concept. Object-oriented programming (OOP) is a programming concept that uses "objects" to develop a system.

A programming object has an ability to perform actions and has attributes. It performs just like real world entities for e.g. a motor bike. A bike performs actions such as 'Start', 'Stop' etc., and it has attributes like red color, 150 cc etc. So does an Object. Actions and attributes are represented by Methods and fields or properties respectively in programming language. 

An object hides the implementation details and exposes only the functionalities and parameters it requires to its client. Here also an object shares the same concept as that of a bike. While driving a motor bike, we are unaware of its implementation details such as how it is developed, internal working of gears etc.? We know only the functions or actions it can perform. 

What are the various elements of OOP?

Answer: Various elements of OOP are:

  • Object
  • Class
  • Method
  • Encapsulation
  • Information Hiding
  • Inheritance
  • Polymorphism

Posted on August 05, 2008 at 22:10 PM by Amit Satpute

Question - What are the characteristics of Object Oriented programming language?

Answer
Some key features of the Object Oriented programming are:

  • Emphasis on data rather than procedure
  • Programs are divided into entities known as objects
  • Data Structures are designed such that they characterize objects
  • Functions that operate on data of an object are tied together in data structures
  • Data is hidden and cannot be accessed by external functions
  • Objects communicate with each other through functions
  • New data and functions can be easily added whenever necessary
  • Follows bottom up design in program design
Question - What are the basic Concepts used in the Object-Oriented Programming language?

Answer

Object
Class
Data Abstraction and Encapsulation
Polymorphism
Inheritance
Message passing
Dynamic binding

Related Link

>Learn JavaScript's OOP features

Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.