Core Java
Core Java
HttpURLConnection is subclass of URLConnection with support for HTTP-specific features, for example: open a connection, retrieve message and post data to server.
Core Java
1.1 java coding standards and best practices Module Organization The term module in this context refers to a source file. A source file should contain
Core Java
Java coding style to help ensure a uniformly high source code quality, so we always need to review our code keep readable, understandable.
Core Java
Why Use Multiple Threads? In many situations, having more than one thread running in a program is beneficial. Here’s a more in-depth look at why this can be good.
Core Java
Operation Coding Time-consuming(ms) Local variable Assigning i=n; 1.0 Instance Assigning this.i=n; 1.2 int increasing i++; 1.5 byte increasing b++;
Core Java
If using methods stop/suspend to stop a thread, this is unsafe and thus deprecated. If a thread being stopped now is modifying common data, that common
Core Java
When a modern operating system wants to start running a program, it creates a new process. A process is a program that is currently executing.
Core Java
As a developer, we have to ensure that our codes are high-quality, fully tested and peer-reviewed before delivering. Today the topic is how to mock java
Core Java
I have summarized some common java interview questions and answers as showed below, you may take a look if you are preparing an interview: 1, what’s the
Core Java
The goal of unit testing is to test the code behaved as exactly expected and smallest piece of testable software as possible, the approach to do so is