Pls can someone tell me why my coding is not correct... It is giving me a "compilation error"what does that mean??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Pls can someone tell me why my coding is not correct... It is giving me a "compilation error"what does that mean???

Java

27th Mar 2017, 3:04 PM
Hommiez 20
Hommiez 20 - avatar
9 Answers
+ 6
You used "maths" class which is not defined. At many places, you put blank spaces in variable names and function names, which should not be done.
27th Mar 2017, 3:13 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 6
1) There's no need of a special class for basic arithmetic. Just use the +,-,*,/ operators. 2) Remove all white spaces in variable and function names.
27th Mar 2017, 3:16 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 1
kk thanks for sparing your tym
27th Mar 2017, 3:09 PM
Hommiez 20
Hommiez 20 - avatar
+ 1
yes how can I make it proper...i was trying to create a calculator but I don't know how to number it at the row
27th Mar 2017, 3:12 PM
Hommiez 20
Hommiez 20 - avatar
+ 1
how do I do the formatting tingy
27th Mar 2017, 3:13 PM
Hommiez 20
Hommiez 20 - avatar
0
Your code is hard to read without any formating.
27th Mar 2017, 3:09 PM
Thomas Zenglein
Thomas Zenglein - avatar
0
so what can I do krishna
27th Mar 2017, 3:14 PM
Hommiez 20
Hommiez 20 - avatar
0
k thanks I hope I get that
27th Mar 2017, 3:17 PM
Hommiez 20
Hommiez 20 - avatar
0
I do not understand what are d white spaces and what is the special class
27th Mar 2017, 3:19 PM
Hommiez 20
Hommiez 20 - avatar