Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What are keywords in Java?
Think of words like 'class' or 'public'.
Give an example of a literal.
Consider numbers or direct texts.
What is a keyword in Java?
Consider words that cannot be changed.
True or False: Identifiers can start with a digit.
Think about how you name a variable.
Create a small Java program that demonstrates the use of keywords, identifiers, literals, operators, and separators.
Think about how to structure a simple class and method.
Explain with examples how you can mistakenly use a keyword as an identifier and what errors that might cause.
Consider the rules of naming and reserved words.
5 more questions in this section. Enroll free to practise them all.
Enroll free