Answer to Question #595 in Java | JSP | JSF for alejandro navarra
How to declare a field inside the class in Java?
You have to declare the corresponding variable in the body of the class. To create a field you can use variables of any type (even of the types created by the programmer).
No comments. Be first!