• Java
    • JAXB Tutorial
      • What is JAXB
      • JAXB Marshalling Example
      • JAXB UnMarshalling Example
  • Spring Tutorial
    • Spring Core Tutorial
    • Spring MVC Tutorial
      • Quick Start
        • Flow Diagram
        • Hello World Example
        • Form Handling Example
      • Handler Mapping
        • BeanNameUrlHandlerMapping
        • ControllerClassNameHandlerMapping
        • SimpleUrlHandlerMapping
      • Validation & Exception Handling
        • Validation+Annotations
        • Validation+ResourceBundle
        • @ExceptionHandler
        • @ControllerAdvice
        • Custom Exception Handling
      • Form Tag Library
        • Textbox Example
        • TextArea Example
        • Password Example
        • Dropdown Box Example
        • Checkboxes Example
        • Radiobuttons Example
        • HiddenValue Example
      • Misc
        • Change Config file name
    • Spring Boot Tutorial
  • Hibernate Tutorial
  • REST Tutorial
    • JAX-RS REST @PathParam Example
    • JAX-RS REST @QueryParam Example
    • JAX-RS REST @DefaultValue Example
    • JAX-RS REST @Context Example
    • JAX-RS REST @MatrixParam Example
    • JAX-RS REST @FormParam Example
    • JAX-RS REST @Produces Example
    • JAX-RS REST @Consumes Example
    • JAX-RS REST @Produces both XML and JSON Example
    • JAX-RS REST @Consumes both XML and JSON Example
  • Miscellaneous
    • JSON Parser
      • Read a JSON file
      • Write JSON object to File
      • Read / Write JSON using GSON
      • Java Object to JSON using JAXB
    • CSV Parser
      • Read / Write CSV file
      • Read/Parse/Write CSV File – OpenCSV
      • Export data into a CSV File
      • CsvToBean and BeanToCsv – OpenCSV

JavaInterviewPoint

Java Development Tutorials

Final Keyword in Java | Java Tutorial

August 25, 2015 by javainterviewpoint Leave a Comment

As a programmer it is very much essential to know the uses of final keyword in Java. final keyword can be used along with variables, methods and classes. In this article we will be looking into the following topics. 1) final variable 2) final method 3) final class … [Read more...]

Types of Inheritance in Java – Single,Multiple,Multilevel,Hierarchical & Hybrid

August 17, 2015 by javainterviewpoint 24 Comments

Single_Inheritance_in_Java

Below are the different types of inheritance which is supported by Java. Single Inheritance Multiple Inheritance (Through Interface) Multilevel Inheritance Hierarchical Inheritance Hybrid Inheritance (Through Interface) … [Read more...]

Hybrid Inheritance in Java with Example

August 14, 2015 by javainterviewpoint 3 Comments

Hybrid Inheritance is a combination of both Single Inheritance and Multiple Inheritance.  Since in Java Multiple Inheritance is not supported directly we can achieve Hybrid inheritance also through Interfaces only.  … [Read more...]

Hierarchical Inheritance in Java with Example

August 12, 2015 by javainterviewpoint 1 Comment

In this inheritance multiple classes inherits from a single class i.e there is one super class and multiple sub classes. As we can see from the below diagram when a same class is having more than one sub class (or) more than one sub class has the same parent is called as Hierarchical Inheritance. … [Read more...]

Multilevel Inheritance in Java with Example

August 10, 2015 by javainterviewpoint Leave a Comment

In Java Multilevel Inheritance sub class will be inheriting a parent class and as well as the sub class act as the parent class to other class. Lets now look into the below flow diagram, we can see ClassB inherits the property of ClassA and again ClassB act as a parent for ClassC. In Short ClassA parent for ClassB and ClassB parent for ClassC. … [Read more...]

Multiple Inheritance in Java Example

August 6, 2015 by javainterviewpoint 2 Comments

Multiple Inheritance in Java is nothing but one class extending more than one class. Java does not have this capability. As the designers considered that multiple inheritance will to be too complex to manage, but indirectly you can achieve Multiple Inheritance in Java using Interfaces. … [Read more...]

Single Inheritance in Java with Example

August 6, 2015 by javainterviewpoint 1 Comment

Inheritance is one of the key features of object-oriented programming (OOP).Single Inheritance enables a derived class(Sub class) to inherit properties and behavior from a single parent class(Super class).  … [Read more...]

Inheritance in Java with Example Programs

August 3, 2015 by javainterviewpoint 1 Comment

Inheritance is one of the important concept in OOPs. Java Inheritance is a process by which one class can re-use the methods and fields of other class. The Derived class(Sub class - The class which inherits the Parent class) re-uses the methods and variables of the Base class(Super class). … [Read more...]

Can we Override static methods in Java

July 27, 2015 by javainterviewpoint 2 Comments

No, We cannot Override a static method in Java. Unlike Overloading of static method we cannot do overriding. When we declare a method with same signature and static in both Parent and Child class then it is not considered as Method Overriding as there will not be any Run-time Polymorphism happening. … [Read more...]

Can we Overload static methods in Java

July 27, 2015 by javainterviewpoint 1 Comment

Yes, you can overload a static method in Java. Java Method Overloading is one of the feature in OOPs concept which allows you to have two or more methods with same method name with difference in the parameters in other words, we can also call this phenomena as Compile time polymorphism. … [Read more...]

Types of polymorphism in java – Runtime Polymorphism, Compile time Polymorphism

July 16, 2015 by javainterviewpoint 1 Comment

As we all know what is polymorphism in java, now its time to dig a bit deeper into it. There are two types of Polymorphism which is possible in Java, Runtime Polymorphism (Dynamic Binding) and Compile time Polymorphism (Static Binding). Lets take a look into it one by one. … [Read more...]

Encapsulation in Java with Example

July 14, 2015 by javainterviewpoint 1 Comment

Encapsulation in Java is the process of wrapping code and data together into a single unit. Encapsulation hides the implementation details from the users. If the data member is private then it can be accessed only within the same class . No other outside class can access the private member of other class. … [Read more...]

  • 1
  • 2
  • Next Page »

Java Basics

  • JVM Architecture
  • Object in Java
  • Class in Java
  • How to Set Classpath for Java in Windows
  • Components of JDK
  • Decompiling a class file
  • Use of Class.forName in java
  • Use Class.forName in SQL JDBC

Oops Concepts

  • Inheritance in Java
  • Types of Inheritance in Java
  • Single Inheritance in Java
  • Multiple Inheritance in Java
  • Multilevel Inheritance in Java
  • Hierarchical Inheritance in Java
  • Hybrid Inheritance in Java
  • Polymorphism in Java – Method Overloading and Overriding
  • Types of Polymorphism in java
  • Method Overriding in Java
  • Can we Overload static methods in Java
  • Can we Override static methods in Java
  • Java Constructor Overloading
  • Java Method Overloading Example
  • Encapsulation in Java with Example
  • Constructor in Java
  • Constructor in an Interface?
  • Parameterized Constructor in Java
  • Constructor Chaining with example
  • What is the use of a Private Constructors in Java
  • Interface in Java
  • What is Marker Interface
  • Abstract Class in Java

Java Keywords

  • Java this keyword
  • Java super keyword
  • Final Keyword in Java
  • static Keyword in Java
  • Static Import
  • Transient Keyword

Miscellaneous

  • newInstance() method
  • How does Hashmap works internally in Java
  • Java Ternary operator
  • How System.out.println() really work?
  • Autoboxing and Unboxing Examples
  • Serialization and Deserialization in Java with Example
  • Generate SerialVersionUID in Java
  • How to make a class Immutable in Java
  • Differences betwen HashMap and Hashtable
  • Difference between Enumeration and Iterator ?
  • Difference between fail-fast and fail-safe Iterator
  • Difference Between Interface and Abstract Class in Java
  • Difference between equals() and ==
  • Sort Objects in a ArrayList using Java Comparable Interface
  • Sort Objects in a ArrayList using Java Comparator

Follow

  • Coding Utils

Useful Links

  • Spring 4.1.x Documentation
  • Spring 3.2.x Documentation
  • Spring 2.5.x Documentation
  • Java 6 API
  • Java 7 API
  • Java 8 API
  • Java EE 5 Tutorial
  • Java EE 6 Tutorial
  • Java EE 7 Tutorial
  • Maven Repository
  • Hibernate ORM

About JavaInterviewPoint

javainterviewpoint.com is a tech blog dedicated to all Java/J2EE developers and Web Developers. We publish useful tutorials on Java, J2EE and all latest frameworks.

All examples and tutorials posted here are very well tested in our development environment.

Connect with us on Facebook | Privacy Policy | Sitemap

Copyright ©2023 · Java Interview Point - All Rights Are Reserved ·