Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

Interview

  • Java OOPS interview questions
    Interview Questions OOPS Core Java interview Interview
    01 March

    Java OOPS interview questions and answers

    In this post, we will see most important Oops interview questions in java. 1. What are some core concepts of OOPS in java? Core concepts of OOPs are : Polymorphism Abstraction Encapsulation Inheritance 2. What is Abstraction? Abstraction is a concept of showing only important information and hiding its implementation.This is one of the most […]

    Read More
  • Exception Handling Interview Questions
    Exception Handling Interview Questions Core Java interview Interview
    22 February

    Java Exception Handling Interview Questions And Answers

    Exceptional handling is one of the most important topics in core java. Here is list of questions that may be asked on Exceptional handling. Question 1: What is Exception ? Answer: Java doc says “ An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s […]

    Read More
  • Method overloading and overriding interview questions
    Interview Questions OOPS Core Java interview Interview
    18 February

    Method overloading and overriding interview questions in java

    In this tutorial, we are going to see Method overloading and overriding interview questions. 1. What is method overloading? Answer: If two or more methods have same name, but different argument then it is called method overloading. For example: Array’s sort method have many overloaded versions. You can sort array of double, int, String etc. 2. […]

    Read More
  • Multithreading interview questions in java
    Interview Questions Multithreading Core Java interview Interview
    16 February

    Java Multithreading and Concurrency Interview Questions

    In this tutorial, we are going to see Multithreading interview questions with answers. Here is list of Java Multithreading interview questions. Java multithreading interview questions 1. What is thread in java? Answer: Thread can be called as light weight process. It can be referred as smallest part of process which can be executed concurrently with […]

    Read More
  • Serialization interview questions
    Interview Questions Serialization Core Java interview Interview
    14 February

    Java Serialization interview questions and answers

    Serialization is one of most important concept in java. If you are going to face core java interview, then you might be asked some questions from Serialization. Java Serialization Tutorial: Serialization in java Java Serialization interview questions and answers serialversionuid in java serialization externalizable in java Transient keyword in java Difference between Serializable and Externalizable […]

    Read More
  • Java ExecutorService example using Callable and Future
    Concurrent APIs Multithreading Core Java interview Interview
    09 January

    Java ExecutorService example using Callable and Future

    Callable interface represents a thread that can return a value. It is very much similar to Runnable interface except that it can return a value. Callable interface can be used to compute status or results that can be returned to invoking thread. For example: Let’s say you want to perform factorial and square of some […]

    Read More
  • Java Semaphore example
    Concurrent APIs Multithreading Core Java interview Interview
    23 December

    Java Semaphore example

    In this tutorial, we are going to see about Semaphore in java. Semaphore is a class in java.util.concurrent package introduced in JDK 5. Semaphore basically maintains a set of permits, so there are two methods which are mainly used for semaphore. acquire release acquire() method is used to get a permit and if no. of […]

    Read More
  • Immutable class interview questions
    Core Java interview Immutable Interview Questions Core Java interview Interview
    22 December

    Immutable class interview questions

    In this post, I am going to share java interview questions which are generally asked on immutable class. Immutable class is important topic as it deals with creation of thread safe class. Here I am providing some important immutable class interview questions with answers. 1. What is immutable class? Answer : Immutable objects are those […]

    Read More
  • Java Collectors.groupby() example
    Java 8 Core Java interview Interview
    01 September

    Collectors.groupby example : How to do group by in java

    We have already seen some examples on Collectors in previous post.  In this post, we are going to see Java 8 Collectors groupby example. Groupby is another feature added in java 8 and it is very much similar to SQL/Oracle. Lets understand more with the help of example: Lets create our model class country as […]

    Read More
  • keyboard_arrow_left Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy