• 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 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...]

Armstrong Number in Java | Print Armstrong Number between 1 to 1000

August 14, 2019 by javainterviewpoint Leave a Comment

Armstrong Number in Java

An Armstrong Number is a number which is equal to the sum of its owns digits, each of them raised to the power of the total number of digits. In this article, Let's write a program check whether the given number is Armstrong Number in Java. … [Read more...]

6 Different ways – Java Random Number Generator | Generate Random Numbers within Range

July 3, 2019 by javainterviewpoint Leave a Comment

Java Random Number Generator

In the developer's world, it is a common task to generate a random number, in a situation like where we need to send an OTP to a user for authentication or need to generate secure SALT which will be used in cryptography, etc. In this Java Random Number generator article, we will learn how to generate random in Java and Generate random numbers in a specific range … [Read more...]

31 Pyramid Program in Java | Pyramid Pattern in Java

June 25, 2019 by javainterviewpoint Leave a Comment

In this article, we will learn to print the different Pyramid Pattern in Java. The pattern programs will help you to master nested loops and recursion in Java. This is one among the popular Java interview questions for fresher. Let's look into the different Pyramid Program in Java … [Read more...]

Exception Handling in Java – Try, Catch, Finally, Throw and Throws

April 2, 2019 by javainterviewpoint Leave a Comment

Types of Exception - Exception Handling

Exception Handling is one of the most important feature which all the Java developers should know. In this article we will learn What is an exception Types of Java Exceptions, Exception Hierarchy 5 Essential keywords in Java Exception Handling How to handle exceptions in Java with examples. … [Read more...]

35 Star Pattern Programs In Java | Pattern Program

March 18, 2019 by javainterviewpoint 21 Comments

Star Pattern Programs In Java 3

In this article, we will learn to print the different Star Pattern Programs in Java. This is one of the popular Java pattern program interview question for fresher. The pattern program are the most recommended programs to enhance the logical thinking and for the better understanding of flow control. Lets look into the below possible Star Pattern Programs in Java which might … [Read more...]

Java RSA Encryption and Decryption Example | ECB Mode + 4096 Bits + OAEPWITHSHA-512ANDMGF1PADDING

March 11, 2019 by javainterviewpoint 1 Comment

RSA [Rivest Shamir Adleman] is a strong encryption and decryption algorithm which uses public key cryptography. RSA algorithm is an Asymmetric Cryptography algorithm, unlike Symmetric algorithm which uses the same key for both Encryption and Decryption we will be using two different keys. One key can be given to anyone [Public Key] and the other key should be kept private … [Read more...]

Java AES Encryption Example | CBC Mode + 128 Bits + PKCS5Padding

September 4, 2018 by javainterviewpoint Leave a Comment

AES Encryption and Decryption in Java

AES (Advanced Encryption Standard) is a strong encryption and decryption algorithm and more secure than its predecessors DES (Data Encryption Standard) and 3DES (Triple-DES). Since AES Encryption is an Symmetric algorithm we will be using the same Secret Key for both Encryption as well as Decryption. In this article, we will be discussing about AES (Advanced Encryption … [Read more...]

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...]

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