Why do i see 'error: ';' expected' in java?
Example:
int x = 10
You've missed a semicolon at the end of a statement.
Solution:Add the missing semicolon.
int x = 10;
You've missed a semicolon at the end of a statement. Add the missing semicolon.Why do i see 'error: ';' expected' in java?
Example:
int x = 10
int x = 10;