1 / 4

Keywords and Identifiers

Keywords are the reserved words used by the Java development team.Identifiers mean to identify.It is used for declaring the name of a class, method, variable, etc. <br>for more free learning visit:<br>https://quipoin.com/view/Java/Keywords and Identifiers

quipoin
Download Presentation

Keywords and Identifiers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Keyword & Identifier Keywords and identifiers in JAVA

  2. Overview Keywords are the reserved words used by the Java development team. It is used to define some functionality. Each keyword has different rules, functions and uses. Identifiers mean to identify. It is used for declaring the name of a class, method, variable, etc. e.g. class Employee{ } (Here Employee is the class name . So Employee is an identifier.) Legal identifiers must be created by only Unicode characters, numbers, currency symbols, and connecting characters (like underscores).

  3. Program public class Addition //Addition-Class Name { public static void main(String[ ] args) //main-Method Name { int a = 10; //a-Variable Name int b = 20; //b-Variable Name } }

  4. Popular Keywords The final keyword can be used in all below levels: variable method class

More Related