Java Essential Skills

Source: Internet
Author: User

Android application development is based on the Java language, so there is a need for solid Java fundamentals. First, familiarize yourself with the basic Java syntax, and then familiarize yourself with design patterns.



A) Java basic syntax: See the Java Knowledge points list below



b) Design pattern: Because of the use of a large number of design patterns in the framework layer of the Android system, without this knowledge, the understanding of Android will be greatly compromised. Design Patterns


The type is very many (there are about 28 design patterns, specifically see the design Pattern series), one of the full mastery, is unrealistic, must first grasp the object-oriented basic design principles, there


With the support of these basic principles, understanding Android is much easier.


With this knowledge, and then to learn Android development, will certainly be more effective.

There's just a dot
Java Knowledge points list: These are the people who summarize, I just add some instructions.

Development environment:

1 Java SDK Download and installation

2 configuration of environment variables (path and CLASSPATH)


Programming Basics

3. Identifier naming specification

4 Java data types

5 operator

6 Branch statement (If,switch)

7 Loop statement (For,while)

8 Methods for defining functions

As long as a programmer, all understand. Language can be assimilated.



Object-Oriented Fundamentals

The three basic characteristics of an object are: encapsulation, inheritance, polymorphism

9. The difference between object-oriented and process-oriented languages

10 object-oriented basic ideas (encapsulation)

Encapsulation: encapsulate objective things into abstract classes, and classes can put their own data and methods only trusted class or object operation, to the untrusted information hiding

11 Defining methods for classes

12 relationship of objects and classes

13 How objects are created

14 methods for using member variables and member functions through objects

15 function of the constructor

16 Overloading of functions

The role of the static

The role of this


Object-oriented Advanced:



19 Object-oriented basic ideas (inheritance)

Inheritance: It can use all the functionality of an existing class and extend these capabilities without rewriting the original class

20 Effect of the inheritance

21 Inheritance of grammatical features

How to use Super

23 Object-oriented basic ideas (polymorphism)

Polymorphic: is a technique that allows you to set the parent object to be equal to one or more of his child objects, after which the parent object can operate differently depending on the attributes of the child object currently assigned to it. To put it simply, it is a sentence: A pointer to the parent class type is allowed to be assigned a pointer to the child class type.

To achieve polymorphism, there are two ways: overlay, Reload

24 upward transformation and downward transformation of objects

The effect of the final keyword: cannot be inherited, and there are no subclasses

26 methods for defining abstract classes and interfaces

27 syntax characteristics of interfaces and abstract classes

28 status and significance of abstract classes and interfaces in object-oriented programming

29 Design Mode (factory method mode)


Definitions of exceptions in Java

31 Classification of anomalies and their respective characteristics

Treatment method of try...catch...finally structure

How to use the throw and throws

In-depth understanding of Java exception handling mechanisms


34 How to use custom exceptions

35 methods for defining inner classes

36 methods for defining anonymous inner classes

37 common ways to use internal classes

Thread

38 Basic definitions of threads

39 Two ways to implement threading in Java (using thread or runnable)

40 Thread Run Status introduction (Prepare, run, block, die)

41 ways to communicate between threads

42 Thread Synchronization

43 Thread Deadlock

This knowledge is the basic content of the operating system. View blog Posts: Jobs, processes, threads

Java Threads


Io

The basic concept of the IO

45 The role of the input stream and the output stream

The classification method of Io stream in Java

47 How to use the Common IO class (File,fileinput,fileoutput,reader,writer and how its subclasses are used)

Detailed: Java input/output stream


Common class libraries

48 How to use common classes in a class set framework (ARRAYLIST,LINKEDLIST,QUEUE,STACK,HASHSET,HASHMAP)

49 How to Use Date related classes (Data,dataformat,calander)

50 Basic concepts of database-relational database

The SQL classification

DDL,DML, Enquiry





----------------------------------------------------










Java Essential Skills

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.