+ 1
when I typed int a = Math.abs(10); an error comes stating cannot find symbol and the reference the error pointing is the dot. Is it due to jdk version problem . can please anyone explain?
4 Antworten
+ 2
did u,import lang package containing math class ??
i.e import java.lang.*;
+ 1
s andy's answer is write u can try
import java.lang.*;
0
Ah may be because of that. kk thanks anyway. I'll try again.
0
Glad to be of assistance 😊😊