Variable names should not belong to the list of reserved keywords - Java Language Basics

Java examples for Language Basics:Variable

Description

Variable names should not belong to the list of reserved keywords

Demo Code

public class Main {
  public static void main(String arg[]) {
    double x, y;//from   ww w  .ja  v  a 2s. c o  m
    // Generate a syntax error:
    // "not a statement"
    // int import ;
  }
}

Related Tutorials