Invalid expression statement

  • Share
  • Share

Applies to:
NA

Description:
This is a syntax error that does not conform to the Java language

Cause:
a. Brackets are not placed after the name of method used
b. Java keyword is not used appropriately:
boolean double = true;

JAVA-Compiler , , , , , , , , , , , , ,

  1. admin
    March 9th, 2009 at 18:22 | #1

    Place brackets after the name of the method used:

    Example:
    myObject.test()

  2. admin
    March 9th, 2009 at 18:22 | #2

    Write the valid Java expression.

    Example:
    boolean isDouble = true;

  1. No trackbacks yet.