Java basic learning words and java keywords, java keywords
In JAVA learning, we will inevitably make some logical errors, syntax errors, and some running errors. For people with poor English, write down the following two frequently used words, it helps us to improve the speed of coding and code Debugging Using software, and more easily identify errors. Knowing the key to security in 1 can effectively avoid some syntax errors, for example, these keywords cannot be used as variable names. Otherwise, an error will be reported.
1. reserved keywords in Java:
| Abstract |
Boolean |
Break |
Byte |
Case |
| Catch |
Char |
Class |
Double |
Continue |
| Default |
Do |
Const |
Finally |
Extends |
| Assert |
Final |
Else |
Implements |
For |
| Goto |
If |
Float |
Long |
Instanceof |
| Int |
Interface |
Import |
Private |
New |
| Strictfp |
Package |
Native |
Static |
Public |
| Return |
Short |
Protected |
Throw |
Switch |
| Synchronized |
This |
Super |
Volatile |
Transient |
| Try |
Void |
Throws |
While |
|
2. words used in Java software:
Public/'P expose blik/public void/v upload id/empty, main/mein/main class/kl labels: s/class
System/'sist memory m/system out/aut/out, out, output print/print static/'st memory tik/static
String/stri character/string double/'d character bl/double character/'K character rikt character/character integer/'character nt character d character/integer
Name/neim/name type/taip/type price/prais/price score/sk cost:/score, score
Money/'m money ni/money, money before/bi 'f balance ...... Previously, now/nau/now weight/weit/weight
Height/hait/height, altitudeBoolean/'Bu: li: Limit n/booleanTrue/tru:/true, correctFalse/f encoding: ls/incorrect, falseElse/els/otherwiseCase/keis/caseDefault/di 'f enabled: lt/defaultSwitch/swit switch/switch, electrical brake
Break/breik/break, mutationWhile/hwail/when ...... TimeIndex/'indeks/indexCount/kaunt/count
Bug/B zookeeper/computer program VulnerabilityDebug/di: 'B testing debugging/debugging, error correctionDo/du :/.Loop/lu: p/loop
For/f labels:/for, suitableContinue/k limit n'tinju/continueInput/'input/inputRate/reit/rate, speed, grade, price, and costAnswer/'samples: ns samples/answer, answerReturn/ri' t response: n/returnObject/'your bd ʒ ikt/object, objectNull/n Limit l/null
Type/taip/typeInitial/I 'ni ʃ yml/initial, initialPackage/'P sans kid packages/packages, packagesDocument/'d your kjum your nt/document
Import/'Imp records: t/import, input, importantDisplay/dis 'plei/exhibition, display, displayMethod/'me θ mongod/methodVersion/'v versions: Release limit n/version
Parameter/p comment 'r comment mit limit/parameterArray/comment 'rei/arrayLength/le ŋ θ/lengthIndex/'indeks/index
Sort/s sort: t/sortException/ik 'sep limit n/exceptionEqual/'I: kw else l/equalUpper/'Upper p upper/upper, relatively high
Lower/'l lower u lower/lower, lowerLast/l elapsed: st/last, last, lastTrim/sortingFinal/'fain marshl/final, finalBuffer/'B then f then/bufferIgnore/I ignore 'n' case:/ignore, ignore (ignore case)Concatenate/k then comment 'ne too many then n/connection
Script/skript/scriptFunction/'f then using k then using n/FunctionDocument/'d your kjum your nt/DocumentSubmit/s limit B 'mit/Submit
Alert/warning 'l warning: t/warning dialog boxConfirm/k limit n'f limit: m/confirmation dialog boxLocation/l province u'kei province limit n/current URL InformationDisplay/dis 'plei/display
None/n Bytes n/hideBlock/bl sort k/display by blockSubstring/'s substring bstri evaluate/evaluate the string
Encapsulation/in, k branch psju 'lei branch limit n/packaging, encapsulation