Quick query of Java keywords and quick query of java keywords

Source: Internet
Author: User
Tags try catch java keywords

Quick query of Java keywords and quick query of java keywords

Access control:
Private
Protected
Public

Class, method, and variable Modifier
Abstract declaration Abstraction
Class
Extends extension and inheritance
Final ultimate, unchangeable
Implements implementation
Interface
Native local
New, create
Static
Strict and accurate strictfp
Synchronized thread, synchronous
Transient is short
Volatile is easy to lose

Program Control statement
Break bounce cycle
Continue
Return
Do run
While Loop
If
Else and vice versa
For Loop
Instanceof instance
Switch
Case: return the result in the switch.
Default

Error Handling
Catch exception
Run any finally exceptions
Throw an exception object
Throws declares that an exception may be thrown.
Try catch exceptions

Package-related
Import
Package

Basic Type
Boolean
Byte type
Char character type
Double,
Float floating point
Int integer
Long Integer
Short integer
Null
True
False

Variable reference
Super parent class, superclass
This class
Void no return value

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.