Basic knowledge of Java navigation

Source: Internet
Author: User

Java Basic Knowledge Note: This is the main mind map, is simply to say, will only expand the map of the Java keyword, and other later write 1, mind map

2. java keyword
Key words Describe
Abstract Abstract methods, modifiers for abstract classes
Asset Whether the assertion condition satisfies
Boolean Boolean Data types
Break Jump out of a loop or label code snippet
Byte 8-bit (BIT) signed data type
Case A condition for a switch statement
Catch Match the try with catch exception information
Char Unicode character data type for 16-bit
Class Defining classes
Const Not used
Continue Do not perform the remainder of this cycle
Default Default
Do Loop statement, executed at least once
Double 64-bit double-precision floating-point
Else If is not the branch that executes immediately
Enum Enum type
Extend Represents a class that is a subclass of another class
Final

Indicates that a value cannot be changed after initialization.

Indicates that a method cannot be overridden, or that a class cannot have subclasses

Finally Designed to complete code execution, primarily for program robustness and integrity, code execution, whether or not an exception occurs
Float 32-bit (BIT) single-precision floating-point number
For For Loop statement
Goto Not used
If Conditional statements
Implements Indicates that a class implements an interface
Import Import class
Instance To test whether an object is an instance of a class
Int 32-bit (bit) shaping number
Interface interface, an abstract type, with only the definition of methods and constants
Long 64-bit (bit) shaping number
Native Represents methods implemented in non-Java code
New Assign an instance of a new class, or a new method type
Package A series of related composition a package
Private Represents a private field, or method, etc., accessible only from within the class
Protected

Indicates that a field can only be accessed through a class or its subclasses

Subclasses or other classes within the same package

Public Method that represents a shared property
Return Method return value
Short 16-digit number
Static Represents the level definition at the class, where all instances are shared
Strictfp Floating-point comparisons use strict rules
Super Represents a base class
Switch SELECT statement
Synchronized Represents a block of code that can only be accessed by one thread at a time
This

Represents the invocation of the current instance

or call another constructor

Throws Defining exceptions that a method might throw
Transient Modify fields that do not serialize
Try Indicates that the code is going to do an exception handling or that a finally mate indicates whether throwing an exception executes the code in the finally
void Tag method does not return any values
Volatitle Tag fields may be accessed by multiple threads at the same time without synchronizing
While While loop

Basic knowledge of Java navigation

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.