Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


dolly
oops concepts
2 Answer(s)      2 years and 7 months ago
Posted in : Java Beginners


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.


Advertisement
View Answers

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
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
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 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
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
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
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... concepts of OOPs are as follows : Object : A real world entity is an object
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
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
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
Hibernate concepts
Hibernate concepts  hibernate concepts Entity System,Entity Named Resolver,Auxiliary database objects,ternary associations and interceptors are used in real -time programming
Polymorphism
Polymorphism        OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through
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
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
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
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
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
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
Object-Oriented Language: Java / APIs, Java OOPs
Java OOPs In this section we will learn Object Oriented (OOPs) Concepts  of Java. This will give you brief introduction to the oops features of Java... applications. Java works on the Object oriented concepts. The main object
OOP
concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs... OOP       OOPs stands... and scenerios. OOPs enables to program the real world objects and easily play
Role based login ..Need the concepts.. - JavaMail
Role based login ..Need the concepts..  Role based login how can i do that.. Constraint: i should have only one jsp page for all the user... requriement.... Hoping for different concepts ... :-) With Regards, K.M.Anandh
Inheritance in Java 7
This tutorial describe concept of Inheritance. It is one of OOPs concept
Polymorphism in Java 7
This tutorial describe concept of Polymorphism. It is one of OOPs concept
Inheritance in Java
Inheritance, one of the important concepts of Object Oriented Programming (OOPS) defines a general class and establishes a subtype from an existing object. Benefit of using inheritance: A code can be used again and again
Top 10 Web Developments Concepts Designers Should Know
Top 10 Web Developments Concepts Designers Should Know When it comes to web... concepts is so challenging. For some years with the proliferation of mobile computing... increasingly, web development and design concepts also went through a great array
Advertisements
 

 

 

DMCA.com