• 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

Copy Constructor in Java | Deep Copy And Shallow Copy

August 13, 2018 by javainterviewpoint Leave a Comment

A Copy Constructor in Java is a special type of Constructor, which enables us to get a copy of an existing object. Copy Constructors can take only one parameter, which is a reference of the same class. In this article lets understand what is copy constructor and its uses. … [Read more...]

37 Alphabet Pattern Programs in Java | Character Pattern Programs

August 6, 2018 by javainterviewpoint 54 Comments

Alphabet Pattern Program in Java 5

In this article, we will learn to print the different Alphabet Pattern Programs in Java. This is one among the popular Java interview questions for fresher. Let's look into the below possible Alphabet / Character Pattern Programs in Java. … [Read more...]

8 Best ways to Iterate through HashMap in Java

July 30, 2018 by javainterviewpoint Leave a Comment

As a Java developer, everyone should know how to Iterate through HashMap, as it will be part of his routine programming. Unlike other Collections, we cannot iterate through HashMap directly we need to get the keySet or entrySet to iterate. In this article, we will learn about all the different ways of iterating a HashMap in Java. … [Read more...]

Java 8 – Lambda Expressions with Examples

July 23, 2018 by javainterviewpoint Leave a Comment

Lambda expressions are introduced in Java 8 and is one of the most important feature of Java 8. A Lambda expression is a block of code with can be passed around and executed which is not possible in the previous versions of Java, other programming languages such as LISP, Python, Ruby, Scala etc.. has this feature. With the introduction of Lambda expressions Java paved way … [Read more...]

Top 8 Java Interview Questions On main() Method

June 25, 2018 by javainterviewpoint Leave a Comment

Java Interview Questions On main() Method

Execution of a Java application starts with the main() method, this is one of an important Java interview questions for both freshers and experienced. In this article, we will discuss some of the possible java interview questions on main() method. … [Read more...]

How to convert XML to JSON in Java – Jackson 2 XmlMapper

June 11, 2018 by javainterviewpoint Leave a Comment

Xml To Json

Jackson is one of the popular JSON Parser for Java application, with the release of Jackson 2 they have added the support of XML Parsing. In this article, we will learn how to convert XML to JSON using Jackson 2 library. … [Read more...]

7 Java Reverse String Programs – Including Word by Word

May 1, 2018 by javainterviewpoint 1 Comment

Reverse a String in Java

How to Reverse a String in Java is one of the popular interview questions, but the interviewer might add some twist to it by asking you to write the code without using the reverse() method, recursion, etc. In this article, we will learn the possible ways of reversing a string in Java. We will look into techniques of reversing a single word and group of words in a sentence [Word … [Read more...]

Java 9 – jdeprscan

April 9, 2018 by javainterviewpoint Leave a Comment

jdeprscan tool can be used as a static analyzing tool which scans the Class / JAR file for the usage of deprecated API. jdeprscan tool identifies the deprecated APIs which defined by Java SE Deprecated APIs, third-party libraries will not be identified. … [Read more...]

How to use PDFBox to Create / Read PDF in Java + Maven

November 20, 2017 by javainterviewpoint Leave a Comment

Apache PDFBox is an open source library for Java to work with PDF documents.In this article, we will learn how to use PDFBox to Create / Read PDF in Java.  … [Read more...]

Private Methods in Interfaces Java 9

May 23, 2017 by javainterviewpoint 2 Comments

In Java 9, Private Methods in Interfaces has been introduced. This enables code sharing between non-abstract methods in an interface. In this article apart from understanding the Private Method in Interface, we will learn how the Interface has evolved in different versions of Java. … [Read more...]

Jackson Tree Model Example – JsonNode

October 19, 2016 by javainterviewpoint Leave a Comment

Jackson Tree Model Example - Read JSON

In this Jackson Tree Model Example, we will learn how to convert Java Object to JSON and vice-versa ( JSON to Java object). Jackson Tree Model creates a tree representation of a JSON similar to DOM Tree. Hence it is possible to traverse through each node. Jackson  provides JsonNode API through we will be accessing the individual node using the node name.The readTree and … [Read more...]

Jackson Streaming API Example | Read and Write JSON

October 11, 2016 by javainterviewpoint Leave a Comment

Jackson Streaming API Example

Jackson reads and writes JSON through a high-performance Jackson Streaming API, with a low memory and process overhead. The only problem with Streaming API is that we need to take care of all the tokens while parsing JSON data. All the JSON values must be read/write in the same order in which it arrives. … [Read more...]

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 11
  • 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 ·