Core Java
How Do I Share a HttpURLConnection Sessions across Multiple Requests
0733
HttpURLConnection is subclass of URLConnection with support for HTTP-specific features, for example: open a connection, retrieve message and post data to server.
ASJAVA.COM
Core Java
java coding standards and best practices (2)
1195
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
ASJAVA.COM
Core Java
Java coding style guidelines, why need?
1166
 Java coding style to help ensure a uniformly high source code quality, so we always need to review our code keep readable, understandable.
ASJAVA.COM
Core Java
Why we need to use Multiple Threads?
0677
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.
ASJAVA.COM
Core Java
Whats these Time-consuming Operations in java
0235
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++;
ASJAVA.COM
Core Java
How do I Stop/Suspend a Java Thread
0226
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
ASJAVA.COM
Core Java
What Is a Thread? – Core Java
1178
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.
ASJAVA.COM
Core Java
How Do I Easily Mock Java Socket Server
02.1к.
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
ASJAVA.COM
Core Java
Java Interview Questions and Answers
0162
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
ASJAVA.COM
Core Java
How to Mock a Static Method with EasyMock ?
0237
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
ASJAVA.COM