Home Technical Articles Java JavaInterview questions
Java latest basic knowledge interview questions

Java latest basic knowledge interview questions

1. What does the static keyword mean? Is it possible to override a private or static method in Java? "static" indicates that a member variable or member method can be accessed without an instance variable of the class to which it belongs. Static methods in Java cannot be overridden.

Nov 13, 2019 pm 05:51 PM
java 面试题 基础
Java multi-threading interview questions multiple choice questions including answers

Java multi-threading interview questions multiple choice questions including answers

To start a thread, you need to call the start() method, and the t.run() method uses the object name. Analysis: To start the thread, you need to call the start() method, and the t.run() method uses the object name.

Nov 13, 2019 pm 02:40 PM
java
9 common multiple-choice questions in Java written exams

9 common multiple-choice questions in Java written exams

Regarding Java compilation, the correct thing is: Java programs will produce byte code after compilation; construtor is executed when an object is new. The modifier of an interface in Java can be abstract.

Nov 12, 2019 pm 03:16 PM
java
Summary of the most common JAVA interview questions in 2020 (Collection)

Summary of the most common JAVA interview questions in 2020 (Collection)

1. Internal principles of Collections.sort sorting; 2. Principles of hashMap, changes made in java8; 3. The difference between String and StringBuilder; 4. The difference between Vector and Array; 5. The difference between HashMap and Hashtable, etc.

Nov 11, 2019 pm 05:47 PM
java面试题
The 8 most common mistakes in Java interview questions

The 8 most common mistakes in Java interview questions

How to use static and final? What is the difference between abstract class and interface? Can a class inherit multiple classes? Can an interface inherit multiple interfaces? Can a class implement multiple interfaces? What are the functions and usages of this and super? What is the difference between final, finally, finalize?

Nov 11, 2019 pm 02:21 PM
java
Person p = new Person(); What does it do in memory?

Person p = new Person(); What does it do in memory?

Load the Person.class file into memory. If p is defined in the main method, then a variable space p will be opened in the stack space. Allocate space for objects in heap memory. Default initialization of members in the object. Explicitly initialize members in the object. Call the construction code block to initialize the object.

Nov 11, 2019 pm 02:21 PM
java
The latest Java interview questions: Spring framework part

The latest Java interview questions: Spring framework part

How does SpringMVC work? What are the commonly used annotations in SpringMVC? How to enable annotation processors and adapters? How to solve the garbled problem of get and post? Talk about your understanding of Spring? What are the design patterns in Spring? Commonly used annotations in Spring?

Nov 09, 2019 pm 03:05 PM
java
Classic Java interview questions_Must ask for interns!

Classic Java interview questions_Must ask for interns!

First, let’s talk about the difference between final, finally, and finalize. final? modifier (keyword) If a class is declared final, it means that it can no longer derive new subclasses and cannot be inherited as a parent class. finally? Provide a finally block during exception handling to perform any cleanup

Nov 08, 2019 pm 04:02 PM
java
A complete collection of Java written test handwritten algorithm interview questions with answers

A complete collection of Java written test handwritten algorithm interview questions with answers

Algorithm for counting the number of words in an English article; inputting the year, month and day, algorithm for calculating the day of the year that the date is; palindrome prime number: the so-called palindrome number is the same number read forward and backward ( For example: 11, 121, 1991...), a palindrome prime number is a number that is both a palindrome number and a prime number (a number that can only be divided by 1 and itself).

Nov 07, 2019 pm 03:49 PM
java
15 Java Thread Concurrency Interview Questions and Answers

15 Java Thread Concurrency Interview Questions and Answers

Now there are threads T1, T2 and T3. How do you ensure that the T2 thread executes after T1, and the T3 thread executes after T2? The answer is also very simple - you can use the join method of the Thread class to achieve this effect.

Nov 07, 2019 pm 03:23 PM
Java

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use