Some identifiers are reserved words in java to represent literal and to define some functionality ,such type of reserved identifiers are called “reserved words”

سوق الاسهم اليوم مباشر

  1. Keywords for primitive data types
    byte,short,int,long
    float,double,char,boolean
  2. Keywords for flow control
    if,else,switch,case,default,while
    do,for,break,continue,return
  3. Keywords for exception handling
    try,catch,finally,throw
    throws,assert(for debugging purpose,1.4v)
  4. Keywords for modifiers
    public,private,protected,static,final,abstract
    synchronized,native,transient,volatile,strictfp(1.2v)
  5. class related Keywords
    class,package,import,extends
    implements,interface
  6. object related Keywords
    new,instanceof,super,this
  7. void return type Keyword
    if a method doesn’t return anything compulsory we should declare that method with void return type.
  8. unused Keywords
    goto(usage is considered as harmful)
    const(alternately use final)
  9. reserved literals
    true
    false
    null