मराठी

Which of the following is a valid java keyword? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following is a valid java keyword?

पर्याय

  • If

  • BOOLEAN

  • Static

  • Switch

MCQ

उत्तर

Static

Explanation:

"Static" is a valid keyword used to declare class-level variables and methods that belong to the class itself rather than any instance of the class. This allows such variables and methods to be accessed without creating an instance of the class.

shaalaa.com
Tokens
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (April) Specimen Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×