Java professional skills to be mastered before employment
1. Proficient in Java language for object-oriented programming , good programming habits , familiar with the common Java APIs, including the collection framework, multithreading (concurrent
Now go back to understanding, combine your own experience, choose the best way to describe these algorithms, to facilitate understanding of their working principles and programming skills. This article is suitable for doing Java interview
What locks are in Java
This problem after I read After all can't answer, explain oneself to the concept of the lock not understand enough. So again looked at the contents of the book, suddenly a bit open the feeling of the forehead. It seems that
The instanceof operator in Java is used to indicate at run time whether an object is an instance of a particular class. Instanceof, by returning a Boolean value, indicates whether the object is a particular class or an instance of its subclass.Usage:
Question: For example, I have an array (with an element number of 0), and I want to add elements that cannot be duplicated.
To get such a question, I might quickly write down the code, where the array is ArrayList.
Copy Code code as follows:
1, the definition of inheritance
A subset of the members of a subclass is defined by its own declaration, and the other part is inherited from his parent class. The subclass inherits the member variables of the parent class as one of its own member
Zhang Xiaoxiang: Java Complete FTP download address: [100% can download]
(There are more than 13G)
Http://www.whitehouse.net.cn/java
Other than that
The latest Vista systems are also available for download:
Http://www.whitehouse.net.cn/hot
It's
By using COM technology, we can build a lot of application extensions with Microsoft Office applications, but Java developers can't enjoy the convenience they have-unless they have a convenient Java access to COM (java-to-com Bridge). With jcom, you
Most good designers avoid the plague by avoiding the use of implementation inheritance (extends relationship). In fact, 80% of the code should be written entirely with interfaces, not through extends. The "Java Design pattern" book details how to
The realization principle of music player
Javase's multimedia function is very weak, so there is a special multimedia-processing plug-ins called JMF,JMF provides a model can be roughly divided into seven categories
* DataSource (data source)*
The linked list is a kind of complex data structure, and the relationship between the data makes the list divided into three kinds: single linked list, circular chain list, bidirectional linked list , and the following will be introduced. Linked
Copy Code code as follows:
Class Parent {
static variables
public static String P_staticfield = "Parent class-static variable";
Variables (in fact, this is better for objects with this, such as writing a class-specific instance)
If
The SDK is the abbreviation for Software Development kit, which means "software development kit". This is a fairly broad term, so to speak: a collection of related documents, examples, and tools to assist in the development of a particular type of
Because it is a method that is already in object, all classes inherit object, so "all objects have this method."It is usually just for the convenience of output, such as System.out.println (xx), "xx" in parentheses if it is not a string type,
Principle: Java reflection is able to get the name of a property and then invoke a method of the class by invoking it.For example, there is a property called username, this class has written a method called GetUserName, Invoke call GetUserName this
The builder model is for the construction of complex objects, such as a product with multiple parts, each of which can be produced separately, and this time it is possible to construct each part of the product by builder and then director the final
I. The concept of generics (why generics are required)?
First, let's look at the short code below:
public class Generictest {public
static void Main (string[] args) {
list list = new ArrayList ();
List.add ("Qqyumidi");
Append Tags:These append tags require two or more lists as arguments and append them together, as shown in the following illustration:
If you have a value of two lists A and B a1,a2 and B1,B2. Merging lists will give
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