Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 793 Bytes

File metadata and controls

39 lines (24 loc) · 793 Bytes

java

1. How many keywords exist in Java?

50

2. What keywords are not used?

const and goto

3. Which of the following is not a keyword?

main

4. Are true, false and null keywords?

No, these are literals.

5. Which keywords are CamelCase?

None, all of them are lower-case

6. How could the keywords be organized?

http://www.codejava.net/java-core/the-java-language/java-keywords

  1. error handling: assert(), catch(), finally(), throw(), throws(), try()
  2. enumeration: enum(45)
  3. others: super(46), this(47), void(48)
  4. unused: const(49), goto(50)

7. When to use enumerations?

...