Is this class is a POJO
Posted
by
Narendra
on Stack Overflow
See other posts from Stack Overflow
or by Narendra
Published on 2011-01-05T06:47:57Z
Indexed on
2011/01/05
6:53 UTC
Read the original article
Hit count: 335
Hi All,
I have a doubt regarding POJO.
Take below example
public class **user**
{
String user="";
String password="";
String firstName="";
String lastName="";
ChallengeQuestions challengeQuestions;
//Getter and setters for thses prooperties
}
public class **ChallengeQuestions**
{
String question="";
String answer="";
//getter and setters for these properties
}
Here My question is **User** class is POJO or not.
Thanks,
Narendra
© Stack Overflow or respective owner