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
private String name;
private String Id;
// no argument constructor
public PersonInfo()
{
name = "";
Id= "";
}
void display
{
name = n;
}
void display
{
id= n;
}
}//end bean class
What is Java bean Class
Reviewed by MCH
on
April 18, 2014
Rating:
No comments: