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
4 Respuestas
+ 1
Post your code.
+ 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.
0
download netbeans
- 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