Login
Register
BootLoader
PHP
Companies
Testing
Java
Walkins
ADVANCE - JAVA
Q&A
Users
Ask a Question
Categories
All categories
Java 10
(414)
Core Java
(95)
JDBC
(58)
Exception
(34)
Struts
(164)
Getting Started with Java
(25)
Java Variables
(4)
JDK vs JRE vs JVM
(7)
Class & Object
(3)
Constructor
(0)
Access Modifier
(0)
Java Operators
(0)
Java Statement
(0)
Collection
(1)
Inheritance
(20)
Serialization
(1)
Advanced Java
(6)
JDBC driver and MySQ
(1)
Spring
(157)
Hibernate
(112)
Design Patterns
(0)
RMI
(0)
EJB
(0)
JMS
(0)
J2EE
(0)
JavaServer Faces
(89)
Jboss Seam
(0)
JSP
(178)
Servlet
(142)
Java Tutorial
(1)
Java Applet
(32)
Java Programs
(1)
Java Errors
(2)
Java Annotations
(1)
Jspiders
(0)
ABC For Java Technology Training
(0)
Jdot
(0)
BJSBUZZ.COM
(0)
InventateQ
(0)
Uttarainfo
(0)
Tech-fortune.com
(0)
What is Inheritance in Java?
asked
Dec 5, 2017
by
vijay
(
58.6k
points)
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1
Answer
Answer: Inheritance is an Object oriented feature which allows a class to inherit behavior and data from other class. For example, a class Car can extend basic feature of Vehicle class by using Inheritance. One of the most intuitive examples of Inheritance in the real world is Father-Son relationship, where Son inherit Father's property. If you don't know, Inheritance is the quick way to become rich :)
Read more:
http://www.java67.com/2016/03/top-21-java-inheritance-interview-Questions-Answer-Programming.html#ixzz50NyebL1Y
answered
Dec 5, 2017
by
vijay
(
58.6k
points)
Please
log in
or
register
to add a comment.
Java Interview Questions and Answers 2018
>
...