How to define a variable that can be used without creating the instances of the class in Java?
You have to use the keyword «static» in variable declaration. Then the variable can be used without class instantiation.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF