0

Can we use variable as static even if any static method is declared.

if yes how can we do that. and if no why can't we do that .

12th Jul 2018, 4:19 PM
Vivek Mishra
Vivek Mishra - avatar
5 Respostas
+ 1
Don't know about Java
13th Jul 2018, 4:34 PM
Femi
Femi - avatar
+ 1
But check out Java codes To know
13th Jul 2018, 4:35 PM
Femi
Femi - avatar
0
What Language are you talking about?
12th Jul 2018, 5:15 PM
Femi
Femi - avatar
0
java
13th Jul 2018, 4:33 PM
Vivek Mishra
Vivek Mishra - avatar
0
Vivek Mishra yes we can do it by applying static in variable so it can be used anywhere //hope u get it
22nd Jul 2018, 2:33 AM
Harsh Agrawal
Harsh Agrawal - avatar