I want to convert a web form to a model in Java.
In C# I can write this:
public class Test {
Instead of using int you can use Integer (Integer javadoc) because it is a nullable Java class.
int
Integer