Home >Java >javaTutorial >java words and java keywords

java words and java keywords

高洛峰
高洛峰Original
2016-11-21 13:49:361670browse

In JAVA learning, we will inevitably make some logical errors, grammatical errors, and some operational errors. For those who are not good at English, just write down the following 2 common words, which will help us improve the speed of writing code using software. And code debugging, you can find errors more conveniently. Knowing the key to guarantee in 1 can effectively avoid some grammatical errors. For example, these keywords cannot be used as variable names, otherwise an error will be reported.

1. Reserved keywords in Java language:

java words and java keywords

2. Words used in Java software:         

public / 'pʌblik / public void / vɔid / empty, no main / mein / main class / klɑ:s / class

system / 'sistəm / system out / aut / outside, out, output print / print / print static / 'stætik / static

string / striŋ / string double / 'dʌbl / double character / 'kæriktə / character integer / 'ɪntɪdʒə / ​​integer

name / neim / name type / taip / type price / prais / price score / skɔ: / score, score

money / 'mʌni / money, money before / bi'fɔ: / before..., before now / nau / now weight / weit / weight

height / hait / height, altitude boolean / 'bu:li:ən / Boolean true / tru: / really, correct false / fɔ:ls / wrong, false else / els / otherwise case / keis / situation default / di'fɔ:lt / default switch / switʃ / switch, switch

break / breik / break, mutation while / hwail / When... index / 'indeks / index count / kaunt / calculation, counting

bug / bʌɡ / computer program vulnerability debug / di:'bʌɡ/ debugging, error correction do / du: / do, execute loop / lu :p / loop

for / fɔ: / for, suitable for continue / kən'tinju / continue input / 'input / input rate / reit / rate, speed, level, price, cost answer / 'ɑ:nsə / answer, answer return / ri'tə:n / return object / 'ɔbdʒikt / object, object null / nʌl / empty

type / taip / type initial / i'niʃəl / initial, initial package / 'pækidʒ / package, package document / 'dɔkjumənt / document

import / 'impɔ:t / introduction, input, important display / dis'plei / exhibition, display, display method / 'meθəd / method version / 'və:ʃən / version

parameter / pə' ræmitə / parameter array / ə'rei / array length / leŋθ / length index / 'indeks / index

sort / sɔ:t / sort exception / ik'sepʃən / exception equal / 'i:kwəl / equal upper / 'ʌpə / Above, higher

lower / 'ləuə / Below, lower, lowered last / lɑ:st / Last, last time, most recent trim / trim / finishing final / 'fainəl / Last, final buffer / 'bʌfə / buffer ignore / iɡ'nɔ: / ignore, ignore, ignore (ignore case ignores case)   concatenate / kəʊ'neɪʃən / connection

script / skript / script Function / 'fʌŋkʃən / function Document / 'dɔkjumənt / Document Submit / səb'mit / Submit

alert / ə'lə:t / Warning dialog box confirm / kən'fə:m / Confirmation dialog box Location / ləu'keiʃən / Current URL information display / dis'plei / show

none / nʌn / Hide                                                                                                                                                                                             handling you in a string

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn