Java Keywords
Keywords are words Java already uses: class, public, static, void, new, if, for, try. You cannot name a variable class or new. The compiler reads these words to understand the program.
true, false, and null are special values, not normal names. Learn what the common keywords do. You don’t need to mug up a list of fifty words.
In a viva, pick five and say one line each: class, new, static, void, return.
Let's take this on the board with one tiny Main class — no extra files. Java Keywords — final, boolean, if, true are keywords used with normal meaning. Start from main, go line by line, and stop at each print. That output is the proof for Keywords.
Pick five keywords and say one line each: class, new, static, void, return.