Home TechnologyProgrammingJava Subscribe to RSS

What Is The Difference Between A Reserve Word And A Keyword In Java?

Answer Question

1 Answer - Sort by: Date | Rating

    Java is generally referrers to the combination of three main things; Java programming language, Java Virtual Machine, Java Platform. It can run same software on different types of computer, Phone, TV and other devices. Java has been used for large projects as well as for small programs called Applets. Applets are entrenched in web page.
    Reserved words are words that cannot be used as Identifier. In Java reserved words are const and goto. These words are not currently used in Java. True, false and null are marked as reserve words in Java and cannot use them as identifies.
    Keyword is a word that has special meaning in certain context and has a meaning to compiler/interpreter or Keyword is a reserved word and cannot be used as variable, methods and classes. As Java keywords are predefined so these words can be use according to the predefined rules. In Java keywords are class, interface, abstract, public, protected, private, static , final, finally, new, return, if, while, throw, throws, synchronized, transient , volatile, native, int, etc.
    0 0

    Eshab  

    answered 3 years ago

      More

         
         

        Ask a Question via Twitter

        Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

        Blurtit Store

        Get T-shirts, hoodies, caps and more at the Blurtit store

        Blurtit International