Core Java
How Do I Share a HttpURLConnection Sessions across Multiple Requests
0195
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)
156
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?
157
 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?
0191
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
088
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
0115
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
175
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
01.3k.
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
055
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 ?
055
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