0

it doesn't run on eclipse

why can't this this example run on eclipse?I tried it,it keeps showing error,and for the char it says I can't convert from strings to char,what does that mean? I'm confused

16th Sep 2016, 2:02 PM
Okesiri Igho-Iggue
Okesiri Igho-Iggue - avatar
4 Respuestas
+ 1
Post your code.
16th Sep 2016, 2:10 PM
Zen
Zen - avatar
+ 1
Seems to be that you have declared and assigned approriate values to the corresponding data types but the real issue here is that you're actually not doing anything with the data, such as print it to the console, concatenate them and print to the console etc. So my tip is , perform a certain task with the already specified data/objects.
16th Sep 2016, 4:21 PM
Ousmane Diaw
0
download netbeans
22nd Sep 2016, 12:20 AM
Akhil Mittal
Akhil Mittal - avatar
- 1
class MyClass { public static void main(String[ ] args) { String name ="David"; int age = 42; double score =15.9; char group = 'Z'; } } this code didn't run on eclipse,don't know why
16th Sep 2016, 2:17 PM
Okesiri Igho-Iggue
Okesiri Igho-Iggue - avatar