• 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

Java Functional Interface – @FunctionalInterface Annotation

September 22, 2020 by javainterviewpoint Leave a Comment

Comparator Interface

The Functional Interface is introduced in Java 8, and it is nothing but an interface with a Single Abstract Method (SAM). A functional interface can act as a target for a lambda expression or a method reference. … [Read more...]

Types of Exceptions in Java – Checked, Unchecked, & Error

July 7, 2020 by javainterviewpoint Leave a Comment

Types of Exceptions in Java

In this article, we will learn about the different types of exceptions in Java checked exceptions, unchecked exceptions, and errors. … [Read more...]

Java ConcurrentHashMap | ConcurrentHashMap vs HashMap

October 29, 2019 by javainterviewpoint Leave a Comment

Java ConcurrentHashMap

ConcurrentHashMap is a class introduced in Java 1.5 Version which implements the ConcurrentMap interface. The ConcurrentHashMap is simply a concurrent version of the HashMap, the functionality is also similar to that of a HashMap except for the internal concurrency. In this article, we will get to know what is Java ConcurrentHashMap and it's usage, along with it we will also … [Read more...]

Difference between new operator vs newInstance() method in Java

October 15, 2019 by javainterviewpoint Leave a Comment

new operator vs newInstance method

In this article, we will learn the difference between new operator vs newInstance() method. In general, the new operator is used to create the object if you know the type of the object at the beginning itself, but if you don't know the type of the object at the beginning and if it is passed at the Runtime then we need to go with newInstance() method. … [Read more...]

5 Different Prime Number Program in Java | Prime Numbers between 1 to 100

September 4, 2019 by javainterviewpoint Leave a Comment

Prime Numbers Chart

What is a Prime Number? A Prime Number is a number which is greater than 1 and divisible by 1 and only itself. Some of the Prime Numbers are 2, 3, 5, 7, 11, 13, 17... In this Prime Number Program in Java, let's take a look into the different prime number programs. … [Read more...]

2 Different Magic Number in Java | Check whether a number is Magic Number or Not?

August 28, 2019 by javainterviewpoint Leave a Comment

Magic Number in Java

Before looking at the Magic number in Java, let's gets some basic understanding on a Magic number What is a Magic Number? A Magic Number is a text or numeric value which is used in the code which is used for some identification. Using such constant can help us distinguish the files among the many other file formats. … [Read more...]

6 Different Ways – Java Anagram Program | Check if Two Strings Are Anagram or Not?

June 18, 2019 by javainterviewpoint Leave a Comment

Anagram Program in Java

What is an Anagram? An anagram is a word which is formed by rearranging or shuffling of letters in another word, the most important property in Anagram is that all the letters have to be used only once. For example, let's take the popular anagram, LISTEN is an anagram of SILENT. In this Anagram Program in Java, we will look into some the possible ways to check if two Strings … [Read more...]

Java AES 256 GCM Encryption and Decryption Example | JCE Unlimited Strength

June 4, 2019 by javainterviewpoint 5 Comments

Java AES 256 GCM Encryption and Decryption Example

Advanced Encryption Standard (AES) algorithm in Galois Counter Mode (GCM), known as AES-GCM. Advanced Encryption Standard with Galois Counter Mode (AES-GCM) is introduced by the National Institute for Standard and Technology (NIST). In this article, we will learn about  Java AES 256 GCM Encryption and Decryption … [Read more...]

9 Different ways to Convert InputStream to String in Java?

May 28, 2019 by javainterviewpoint Leave a Comment

Convert InputStream to String

Reading a file in Java is pretty simple, we simply can use FileInputStream to read the contents of a file, but if you want to do some operations on the content which is read such as validation, pattern matching, etc, then it would be easier to perform on the String rather than the InputStream. In this article, we will see the different ways to convert InputStream to String in … [Read more...]

Java MD5 Hashing Example | MessageDigest | Guava | Apache Commons

May 21, 2019 by javainterviewpoint Leave a Comment

Java MD5 Hashing Example 1

MD5 is a cryptographic Message Digest Algorithm, which produces a 128-bit hash value. The hash function takes an arbitrary-sized data and produces a fixed-length hash value. Hashing is a one-way function, it is impossible to get the original message from the hash and no two different strings can have the same hash value. In this article, we will learn about Java MD5 Hashing … [Read more...]

Java ChaCha20 Poly1305 Encryption and Decryption Example

April 30, 2019 by javainterviewpoint Leave a Comment

Java ChaCha20 Poly1305 Encryption and Decryption Example

ChaCha20 Poly1305 is an AEAD [Authenticated Encryption with Additional Data] cipher.In the ChaCha20-Poly1305 algorithm, ChaCha20 Stream cipher performs the Encryption and Poly1305 performs the Authentication. ChaCha20 encrypts the data using Key and IV (Initialization Vector), Poly1305 will be used on the encrypted text, and a MAC [Message Authentication Code]  is calculated … [Read more...]

Java ChaCha20 Encryption and Decryption Example | Symmetric Encryption

April 23, 2019 by javainterviewpoint Leave a Comment

Java ChaCha20 Encryption and Decryption Example

ChaCha20 is a stream cipher designed by Daniel J. Bernstein, ChaCha20 is a variant of the Salsa20 family of stream ciphers and widely used as an alternative to AES Encryption Algorithm. The 20 round stream cipher ChaCha20 is consistently faster and not sensitive to timing attacks as AES Algorithm. Java 11 has added support to ChaCha20 and ChaCha20 Poly1305 [AEAD] … [Read more...]

  • 1
  • 2
  • 3
  • …
  • 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 ·