As a Java programmer who is often asked in an interview, let me summarize some of the questions that I often don't ask.
The difference between 1.HashMap and Hashtable
Often asked. Both are classes of the map interface, which enable
Reference Link: http://tutorials.jenkov.com/java/strings.html
Often see on the net or around hear someone say string concatenation does not add directly with string, StringBuilder efficiency is higher than string concatenation. Others often say that
There are modifiers that you can use to learn the basics of Java, which are decorated differently and have different scopes, so that you can use them correctly only if you comb it out. scopes for different modifiers to decorate content
Concept distinction: java.util.Collection and java.util.Collections differences:
1, Java.util.Collection is a collection interface (a top-level interface of the collection Class). It provides a common interface method for basic operations on a
Topic description A sports school in the training gap, the teacher in order to strengthen the students ' physical fitness and for fair treatment, organized a mental plus physical training game. The rule of the game is this: the teacher let the
To remove a repeating element from a Vector collection in Java
1 The Vector.contains () method is used to determine whether the element is included, and if it is not included, it is added to the new set, which is applied to the smaller data.
Private
Memory leaks are always a headache, and the following three commands I personally find quite useful.
1. Jstack (unique under Linux)
You can observe the current status of all threads in the JVM and the current state of the thread
Jstack 2083
The
The abstract abstract class and function are implemented in this paper, and its function is to compute the area of triangles and circles.
Abstract-oriented programming means that when designing an important class, the class is not oriented to a
When I first learned Java, I had this suspicion, but has not been validated; recently in Oschina to see someone in answer to the question also said so, and began a look at the idea of the--java.lang.object.hashcode () return value is not the object
I have discussed with my classmates, the transformation between float and int in Java, before the one-sided learning of the Java Foundation, the sense of the int type is not as high as the float type, because float can represent decimals, and int
The object is placed inside the heap, and the base type data is placed on the stack.
Heap: Objects to be put out of newStacks: Putting basic type data and references to objects (equivalent to pointers, but the object itself is still in the
Before using RPC are WebService, Hessian, Dubbo, and so on, now the company used ice, have not heard of how to spend some time to learn the ice, and write a Demo,java the basis of data type transmission are not too big problem, Object transmission
Before the topic, first understand the Java Crawl Web page on the specific content of the method, which is called the web Crawler, in this article will only involve simple text information and link crawling. There are only two ways to access HTTP in
What are the eight basic data types that are available in the course of our interview or exam with eight basic data types and their encapsulation classes? What are their encapsulation classes?
First, the eight basic data types are: int, short, float,
Polymorphism is special on domain issues. I can not understand the Chinese version of the book directly called the domain, read the original English, the original is written fields, direct translation Although yes, but the problem is not a variable
During the socket programming process, the client sends a request to the server and encounters the following error: Java.net.SocketException:recvfrom failed:econnreset (Connection reset by Peer)
01-11 23:07:25.065:w/system.err (11804):
Java List Paging Application (i) Quote: http://www.blogjava.net/jzone/articles/308842.html
Application class:
Package com. Gavin.tools.util;
/** *//**
* List Paging
* Implementation: Use list to obtain the sub-list method to achieve the page list
*
usage points for Homjava string.split () function
The prototype of the String.Split () method in the Java.lang package is:Public string[] Split (String regex, int limit)The Split function is used to separate a string into an array of strings using
Thread Pool Introduction
In the previous article on the executor framework, there is a preliminary understanding of the thread pool, which is actually common in Java, such as the constant pool in the JVM, and the database connection pool that Web
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service