oops concepts

oops concepts

What is polymorphism?Explain with an example. What is abstraction?Explain with an example. What is inheritance?Explain with an example. What is encapsulation?Explain with an example.

View Answers

December 9, 2011 at 12:43 PM


December 9, 2011 at 4:47 PM

Abstraction:Providing necessary attributes and operations ,hiding the internal things is called Abstraction.Example is a CAR will a have parts like engine,tire....But the user of the car(driver) know how to drive the car.But he doesn't know any knowledge of these parts.

Inheritance:Process of creating new class from already existing class is called inheritance.new class is called 'sub class','child class','derived class' and existing class is called 'super class','base class','parent class'. Example:Parents and children relationship

Encapsulation:binding the data and functions into a single component is Encapsulation. Ex:Java class is combination of variables and methods. Ex2:medicine capsules

Polymorphism: Poly means 'many' and morphism means 'forms'.It is a Greek word.To take more than one form is called Polymorphism. Ex:The person in home act as a son or husband same person in office act as a employee ,, ,, in society act as citizen.









Related Tutorials/Questions & Answers:
oops concepts
oops concepts  What is polymorphism?Explain with an example. What is abstraction?Explain with an example. What is inheritance?Explain with an example. What is encapsulation?Explain with an example
oops concepts - Java Interview Questions
oops concepts  what stands for "S" in OOPs ? object oriented programing.....  Hi friend, Object Oriented Programming or OOP... rather than actions and logic. Objects represent some concepts or things
Advertisements
using oops concepts - Development process
using oops concepts   You are required to develop a Hotel Reservation System. The system manages information about rooms, reservations, customers... total source code in corejava using oops concepts.  Hi
using oops concepts - Development process
using oops concepts  i want answer with oops concepts.individual classes with source code and exact out put. You are required to develop a Hotel Reservation System. The system manages information about rooms
OOPs concepts in Java
Object-Oriented Programming (OOPs) concepts in Java helps in creating programs that are based on real world. OOPs is very flexible and compatible and hence... application that are developed on the OOPs concepts at first analyze the program
Program to read 2 integers using oops concepts
Program to read 2 integers using oops concepts  Write a program to read two integers with the following significance. ? The first integer value represents a time of day on a 24 hour clock, so that 1245 represents quarter
how to insert data from database using oops concepts - Development process
how to insert data from database using oops concepts  Hi, How to insert data from database using oops based concepts.please write the code and send me.using class and constructor..its urgent  Hi Friend, Try
OOPs
OOPs  What is OOps?  Object oriented programming organizes a program around its data,i.e.,objects and a set of well defined interfaces to that data.An object-oriented program can be characterized as data controlling
OOPs Concept
the OOPs concepts along with  fundamentals  used to develop the java... OOPs Concept      .... This is a technique used to create programs around the real world entities. In OOPs
Interview Questions - What are the Fundamentals of OOPS?
Concept and OOPs concepts in Java. View all interview questions at Java Interview...Interview Questions - What are the Fundamentals of OOPS?  Hi, What are the Fundamentals of OOPS? Thanks   Hi, Java is Object Oriented
what is oops in java
what is oops in java  what is oops in java
what is oops in java
what is oops in java  what is oops in java
Java & OOPs
Java & OOPs  Is JAVA a fully Object Oriented Language? or A what degree Java supports Fully OOPs concept?   Java is not a fully object oriented language because Java is not a completely object oriented language
Java7 : OOPs Concepts
JAVA7 : OOPs Concept In this section we will discuss concept of Object..., better termed as OOPs is a paradigm where everything is represented as an object.... Everything in OOPs is written inside the class so that you can reuse the class.You
oops
oops
ModuleNotFoundError: No module named 'oops'
ModuleNotFoundError: No module named 'oops'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'oops' How to remove the ModuleNotFoundError: No module named 'oops' error
What Is OOPS In Java
What Is OOPS In Java In this section we will learn about the basics of Java. Here we will see the concepts of OOPs. We will discuss the basics of OOPs... maintainable. The basic concepts of OOPs are as follows : Object : A real world
What is oops in php with example?
What is oops in php with example?  Hi, I heard some where that PHP is support OOPS and its new feature is PHP. Every is now using OOPs in PHP. What is oops in php with example? Can anyone give me code example? Thanks
OOPs and Its Concepts in Java
OOPs and Its Concepts in Java       Brief Introduction to OOP Object Oriented... represent some concepts or things and like any other objects in the real Objects
What is OOPs in PHP ?
What is OOPs in PHP ?   Hi, I am a beginner in PHP Programming Application. I have some doubt on What is OOPs in PHP programming. How the OOPs concept helps us in PHP Programming. Please provide me any online reference so that i
ModuleNotFoundError: No module named 'oops_amqp'
ModuleNotFoundError: No module named 'oops_amqp'  Hi, My Python... 'oops_amqp' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops_amqp python with following
ModuleNotFoundError: No module named 'oops_celery'
ModuleNotFoundError: No module named 'oops_celery'  Hi, My Python... 'oops_celery' How to remove the ModuleNotFoundError: No module named 'oops_celery' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'oops_dictconfig'
ModuleNotFoundError: No module named 'oops_dictconfig'  Hi, My... named 'oops_dictconfig' How to remove the ModuleNotFoundError: No module named 'oops_dictconfig' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops-parser'
ModuleNotFoundError: No module named 'oops-parser'  Hi, My Python... 'oops-parser' How to remove the ModuleNotFoundError: No module named 'oops-parser' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'oops_timeline'
ModuleNotFoundError: No module named 'oops_timeline'  Hi, My... 'oops_timeline' How to remove the ModuleNotFoundError: No module named 'oops_timeline' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops-tools'
ModuleNotFoundError: No module named 'oops-tools'  Hi, My Python... 'oops-tools' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops-tools python
ModuleNotFoundError: No module named 'oops_twisted'
ModuleNotFoundError: No module named 'oops_twisted'  Hi, My Python... 'oops_twisted' How to remove the ModuleNotFoundError: No module named 'oops_twisted' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops_wsgi'
ModuleNotFoundError: No module named 'oops_wsgi'  Hi, My Python... 'oops_wsgi' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops_wsgi python with following
Oops Definition - Java Beginners
Oops Definition  What is Abstraction and Encapsulation? What is the Difference Between Abstraction and Encapsulation? Regards M.KethraBalan.  Hi Friend, Abstraction - The process of abstraction in Java is used
Object Oriented concepts
to develop programs revolving around the real world entities. In OOPs programming model, programs are developed around data rather than actions and logics. In OOPs... type) and behavior (methods). OOPs provides a better flexibility
ModuleNotFoundError: No module named 'oops_datedir_repo'
ModuleNotFoundError: No module named 'oops_datedir_repo'  Hi, My... named 'oops_datedir_repo' How to remove the ModuleNotFoundError: No module named 'oops_datedir_repo' error? Thanks   Hi, In your
Hibernate concepts
Hibernate concepts  hibernate concepts Entity System,Entity Named Resolver,Auxiliary database objects,ternary associations and interceptors are used in real -time programming
OOPS Concept Abstraction with example - Java Beginners
OOPS Concept Abstraction with example  I am new to java. In java OOPS concept Abstraction means abstract or something. Please explain it with one example  Hi Friend, The process of abstraction in Java is used
ModuleNotFoundError: No module named 'concepts'
ModuleNotFoundError: No module named 'concepts'  Hi, My Python... 'concepts' How to remove the ModuleNotFoundError: No module named 'concepts... to install padas library. You can install concepts python with following
ModuleNotFoundError: No module named 'concepts'
ModuleNotFoundError: No module named 'concepts'  Hi, My Python... 'concepts' How to remove the ModuleNotFoundError: No module named 'concepts... to install padas library. You can install concepts python with following
php_oops
Polymorphism
Polymorphism        OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through
ModuleNotFoundError: No module named 'django-concepts'
ModuleNotFoundError: No module named 'django-concepts'  Hi, My... named 'django-concepts' How to remove the ModuleNotFoundError: No module named 'django-concepts' error? Thanks   Hi, In your python
Advanced Concepts with Classes - JDBC
Advanced Concepts with Classes  Advanced Concepts with Classes( Inheritance, Polymorphism, Overriding) i need help to create this application,than you Employees in a company are divided into the classes Employee, HourlyPaid
Inheritance
Inheritance        OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through a class
Encapsulation
Encapsulation       OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through a class
What are the concepts and purpose of Spring configuration file.
What are the concepts and purpose of Spring configuration file.  Hi, What are the concepts and purpose of Spring configuration file. Thanks
OOPS - Java Interview Questions
OOPS - Java Interview Questions
OOPs - Java Interview Questions
ModuleNotFoundError: No module named 'Vectors-of-Locally-Aggregate-Concepts'
ModuleNotFoundError: No module named 'Vectors-of-Locally-Aggregate-Concepts...: ModuleNotFoundError: No module named 'Vectors-of-Locally-Aggregate-Concepts' How...-Concepts' error? Thanks   Hi, In your python environment you
how to use nested classes in swing concepts
how to use nested classes in swing concepts  i am working on swing concepts . i want to know how to use the nested classes in swings
Java as an Object Oriented Language
will discuss the OOPs concepts along with their role in developing the java... entities. In OOPs programming model, programs are developed around data rather than actions and logics. In OOPs, every real life object has properties and behavior
Maven Repository/Dependency: de.julielab | julielab-neo4j-plugins-concepts
Maven Repository/Dependency of Group ID de.julielab and Artifact ID julielab-neo4j-plugins-concepts. Latest version of de.julielab:julielab-neo4j-plugins-concepts dependencies. # Version Release Date

Ads