public int go(){
Returns1;
}
This is the basic data type returned, or a custom type can be returned.
For example, first define a user class,
Public user lookup (string name, string password) (
User User = new User();
Return the user;
}
The returned user is a user-defined return value type.