logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Which is a reserved word in the java programming language?


  • Options
  • A. Variable
  • B. Identifier
  • C. Keyword
  • D. Main

  • Correct Answer
  • Keyword 

    Explanation

    Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.

    Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).

    If a reserved word was used as a variable you would get an error or unexpected result.

     

    Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...

     

     

  • Tags: Bank Exams, Analyst, Bank PO, Database Administrator, IT Trainer, Project Manager, Software Architect

    Technology problems


    Search Results


    • 1. How do you handle error condition while writing stored procedure or accessing stored procedure from java ?
    • Discuss
    • 2. What is the difference between creating String as new() and literal ?
    • Discuss
    • 3. How can you make sure your dependencies are safe ?
    • Discuss
    • 4. If sub class data member is hiding super class data member then how to access super class data member inside sub class methods?
    • Discuss
    • 5. What is the fastest type of JDBC driver ?
    • Discuss
    • 6. Which of the following best describes JavaScript?

    • Options
    • A. a scripting language precompiled in the browser.
    • B. an object-oriented scripting language
    • C. a low-level programming language.
    • D. a compiled scripting language.
    • Discuss
    • 7. Is it possible to nest functions in javascript?
    • Discuss
    • 8. Warning implicit declaration of function?
    • Discuss
    • 9. How many constructors can a class have?

    • Options
    • A. 1
    • B. 2
    • C. 4
    • D. None of the above
    • Discuss
    • 10. What compilers apple using ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment