In Java which of the following are unused keywords?A) constB) gotoC) Both (a) & (b)D) None of these
Question
In Java which of the following are unused keywords?A) constB) gotoC) Both (a) & (b)D) None of these
Solution
The correct answer is C) Both (a) & (b). In Java, both "const" and "goto" are reserved keywords, but they are not used.
Similar Questions
Which of the following are not Java keywords ?doubleswitchtheninstanceof
Which of the following are the common syntax errors in Java programs?Missing semicolon, Use of undeclared variableWrong spellings of identifier or keywordMismatch of bracketAll of the above
How many keywords are there in c ?
Select the correct answerWhich of the following statements is/are TRUE regarding JAVA ?(a) Constants that cannot be changed are declared using the ‘static’ keyword.(b) A class can only inherit one class but can implement multiple interfaces.OptionsBoth (a) and (b) are TRUE.Only (b) is TRUE.Only (a) is TRUE.Neither (a) nor (b) are TRUE.
Which of the following statements are incorrect?none of themprivate members of class can be accessed from subclasspublic members of class can be accessed by any code in the programprivate members of class can only be accessed by other members of the class
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.