Mihai Surdeanu

(#4) Tricky Java Questions for Interviews

Q1: Which of the following class loaders is (are) written in C language to be as fast as possible?

Select one or multiple options:

  1. System class loader
  2. Platform class loader
  3. Bootstrap class loader

Q2: What’s the output printed to console?

public static void main(String[] args) {
    System.out.println(null == null);
}

Q3: Enumerate all differences between LocalDateTime and Instant. Both classes were introduced in Java 8.

Mihai

Pasionat de IT. Pasionat de viață. Pasionat de tot ceea ce înseamnă a face o viață mai bună, plină de înțelegere, ajutor reciproc și iubire de aproape.

Adaugă comentariu

Arhive

Arhiva personală