Receiving Illegal start of expression error

user2824775

Can someone help me with this error?
when i remove the () i have 100 errors...
cannot response on my own post need to wait 7hours ...

Im still getting errors, can someone maybe help me via teamvieuwer?

long TimeTNL = ()(Skills.getXPToNextLevel("Mining") * 3600000.0D / XPH);
                ^

1 error


this.runTime = System.currentTimeMillis();
timeRan = this.runTime - this.startTime;
int XPH = (int)(this.gainedXP * 3600000.0D / timeRan);
long TimeTNL = ()(Skills.getXPToNextLevel("Mining") * 3600000.0D / XPH);
if (XPH > 0) {
  this.TNLhours = (TimeTNL / 3600000L);
  TimeTNL -= this.TNLhours * 3600000L;
  this.TNLminutes = (TimeTNL / 60000L);
  TimeTNL -= this.TNLminutes * 60000L;
  this.TNLseconds = (TimeTNL / 1000L);
  TimeTNL -= this.TNLseconds * 1000L;
}
Mr. Polywhirl

Remove the () after the assignment operator in the variable declaration, they (parenthesis) are unnecessary.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Java Error: illegal start of expression

Compile Error: illegal start of expression

"Illegal start of expression" error in Java

Error in code, "illegal start of expression"

java illegal start of expression error

Error illegal start of simple expression

Illegal start of expression error in Java

Weird "illegal start of expression" error in Netbeans

error: illegal start of expression in Android Studio Code

javac strange syntax - error illegal start of expression

Error: illegal start of expression followed by PriorityQueue

How to fix illegal start of expression compilation error?

Error code compiling: illegal start of expression

Illegal start of expression for Annotations

Why is this an illegal start of expression?

Illegal start of expression (method)

I keep getting an "illegal start of expression" error on my code

java error in for loop condition evaluation: not a statement, illegal start of expression

What's wrong with my java program, "illegal start of expression error"

Netbeans is giving me "illegal start of expression" error message on my methods

'Try without catch error', ')' expected, illegal start of expression..?

Running into an illegal start of expression error while changing the value of an array

error: illegal start of expression in my Android studio code

Illegal Start of Expression, trying to print

Why is it saying illegal start of expression?

Why is this an illegal start of expression?and not a statement?

error: illegal start of type

Netbeans "illegal start of type" error

JSP Error "Illegal start of type"