Ad Code

What is Java bean Class


What is Java bean Class?

public class PersonInfo implements Serializable{
private String name;
private String Id;
// no argument constructor
public PersonInfo()
{
name = "";
Id= "";
}
void display
{
name = n;
}
void display
{
id= n;
}
}//end bean class
Reactions

Post a Comment

0 Comments