Vous êtes sur la page 1sur 3

10/3/12 Core java oops concepts inheritance , abstraction, encapsulation,polymorphism PPT PDF | Java Faq

1/3 java-jsp-struts-tutorial-pdf-docs.blogspot.in/2012/01/core-java-oops-concepts-inheritance.html
Java Faqs material PDF Downloads
Core-Java-FAQS
JSP-FAQS
Servlets-FAQS
Struts-FAQS
XML-FAQS
Spring-FAQS
Hibernate-FAQS
Spring with Hibernate
EJB
ANT
S r s x o d u #S r v wv
Core java oops
concepts inheritance ,
abstraction,
encapsulation,polymorphism PPT
PDF
OOPS Concepts Abstraction : Hiding
unneccessary data from user is called
Abstraction access specifiers like
public,private etc are use...
Core java Collection framework
material tutorial PDF free
download online
Java Collections and Generics The
Java Collections Framework Java
Generics 13.1. The Java Collections
Framework Java arrays have limitat...
Java exception handling
examples throw throws try catch
finally material ppt
Exceptions in Java Throwable Class
MONDAY, JANUARY 9, 2012
Core java oops concepts inheritance ,
abstraction, encapsulation,polymorphism PPT
PDF

OOPS Concepts
Abstraction : Hiding unneccessary data from user is called
Abstraction access specifiers like public,private etc are used to
provide different level in abstraction.
Encapsulation : Taking data and object in a single unity is called
Encapsulation.A class is example for Encapsulation.
Inheritance : creating anew class from existing class is called
Inheritance.reusability is main advantage in inheritance.
polymorphism : if single mthod performs different task is called
polymorphism.
Abstraction
Hiding unnecessary things and showing the essential information.
Example: Suppose take a car: In that we will have breaks and stering
and etc... Here when we are changing the gear box to up or bottom
then gears will work but we don't know how they are managing
internally and we don't no how it is working. As a driver we don't
need to know how it is working internally when we are changing
every time. That is the reason they will hide the wires and cables
internally and they will show up only gear box to us.
Advantages: 1) Code will be clean and for managing it will be very
easy
Inheritance
V h d u f k #\ r x u
Wk l q j v #k h u h
Search
O d e h o v
CollectionFramework (1)
Core Java (6)
CoreJavaFAQ's (5)
Exceptions (1)
FAQ'S (1)
Java Strings (1)
JavaCollections (2)
JSP (1)
JSP FAQ'S (1)
OOPS Concepts (1)
Struts (1)
StrutsFAQ'S (1)
WebServices (2)
XML (2)
10/3/12 Core java oops concepts inheritance , abstraction, encapsulation,polymorphism PPT PDF | Java Faq
2/3 java-jsp-struts-tutorial-pdf-docs.blogspot.in/2012/01/core-java-oops-concepts-inheritance.html
The Throwable class provides a String
variable that can be set by the
subclasses to provide a det...
Core Java FAQ's interview
download free videos ppt doc pdf
online tutorials
Q: What is the difference between an
Interface and an Abstract class? A:
An abstract class can have instanc...
Java String functions methods
objects FAQ's interview PDF's docs
download free
The String class Q: Why is the
String class declared final ? A: The
short answer is that any class may be
declared final if it is...
What are Web Services ppt pdf
documents WSDL XML example
free download
What are Web Services ?? Web
services are based on the concept of
service-oriented architecture (SOA).
SOA is the latest evolution of dis...
Definition of Java language History
fundamentals program
development founders
Java is an object-oriented
programming language developed by
James Gosling and colleagues at Sun
Microsystems in the early 1990s.
Unlike c...
What are the differences between
SAX and DOM parser xml parsing
webservices
What are the differences between SAX
and DOM parser SAX DOM Both SAX
and DOM are used to parse the XML
document. Both has advantages ...
JSP Faqs material tutorial doc pdf
ppt interview question download
vidoes question
1. What is the difference between JSP
and Servlets ? JSP is used mainly for
presentation only. A JSP can only be
HttpServlet that means th...
Struts frame work action class
validations tiles example jars
download pdf docs FAQS
Q: What is Struts? A: The
core of the Struts framework is a
flexible control layer based on
standard technologies like Java Ser...
Powered by Blogger.
Core java oops
concepts
inheritance ,
abstraction, ...
Core Java FAQ's
interview download
free videos ppt doc
pdf ...
Core java
Collection
framework material
tutorial PDF free ...
Core java
Collection
framework material
tutorial PDF free ...
Newer Post Older Post
Acquiring the properties from super class to subclass.
Example: Suppose take two java classes Class A contains 2 variables
and ClassB Extends Class A that means here ClassB can access the
classA variables without declaring it. If we do this then the memory
will be less and reusable.
Advantages: 1)Reusability of code
Encapsulation
Wrapping up of data and methods into a single unit.
Example: In our class we need to make all our varables and methods
keeping together.
Advantage: Maintance will be good
Polymorphism
It means many forms. 2 types:
1) Compile time polymorphism
2) Run time polymorphism
Method overloading is an example for Compile time polymorphism
and Method overriding is an example for Run time polymorphism
You might also like:
LinkWithin
at 10:02 AM
Labels: Core Java, OOPS Concepts
No comments:
Post a Comment
Links to this post
Create a Link
Home
Subscribe to: Post Comments (Atom)

Recommend
this on
Google
10/3/12 Core java oops concepts inheritance , abstraction, encapsulation,polymorphism PPT PDF | Java Faq
3/3 java-jsp-struts-tutorial-pdf-docs.blogspot.in/2012/01/core-java-oops-concepts-inheritance.html

Vous aimerez peut-être aussi