0
Fill in the blank to declare a static variable.
in Java course, static lesson, there is this question "Fill in the blank to declare a static variable." with nothing but a blank field. static.. Not working static int COUNT=0;...not working No other clues. I have no more hearts (thank you sololearn economist adviser Who didnt understand the sololearn core).
5 Antworten
+ 1
whould someone answer please ?
+ 1
Youcef Youcefyoucef
Your answer is correct, i guess you may wrote `Static` instead of `static`. Java is case-sensitive language so static must be written in lowercase, plz try again and let us know if it still shows wrong answer.
+ 1
my app have:
public __ int x = 0;
which is solved by typing static in the box.
public static int x = 0;
maybe it's a different lesson you're describing, but I can't find it in my courses...
+ 1
my app gives me a blank field with no clue.
my app doesnt give me:
public __int x =0;
these type of solutions are not working :
static
static int x=0;
public static int x=0;
I figure out that the blank field takes maximum 23 characters
+ 1
thank you Gulshan Mahawar and Bob_Li for your answers. I thought it's a bug in the application, since other People visualise a whole sentence with à blank field and not me. Si i tried to update the app, then to login to sololearn from a navigator. but no difference !