Answer to Question #592 in Java | JSP | JSF for paolo

Question #592
How to define a variable that can be used without creating the instances of the class in Java?
1
Expert's answer
2010-09-03T04:32:50-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS