Answer to Question #592 in Java | JSP | JSF for paolo
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.
No comments. Be first!