Which of these cannot be used for a variable name in Java?
Java MCQ: Which of these cannot be used for a variable name in Java? a) identifier b) keyword c) variable d) method Answer: b) keyword Explanation: In Java, keywords cannot be used as variable names because they have predefined meanings in the language. Examples of keywords include int, class, public, and void. Reference links: https://www.rameshfadatare.com/learn-java-programming/ […]
Which of these cannot be used for a variable name in Java? Read More »