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).

4th Aug 2025, 8:48 PM
Youcef Youcefyoucef
5 ответов
+ 1
whould someone answer please ?
5th Aug 2025, 1:11 AM
Youcef Youcefyoucef
+ 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.
5th Aug 2025, 1:24 AM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 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...
5th Aug 2025, 2:05 AM
Bob_Li
Bob_Li - avatar
+ 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
5th Aug 2025, 2:44 AM
Youcef Youcefyoucef
+ 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 !
5th Aug 2025, 2:48 AM
Youcef Youcefyoucef