Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
- Interview Questions and Answers for 'POJO' - 3 question(s) found - Order By Newest | ||||
| ||||
Ans. A Java bean is a class which abides by following conventions: Core of the object is member elements and not operations ( methods ) Member Elements can be accessed by getters (and setters if those properties are not read-only). serializable. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java bean   javabean   pojo   classes basic   frequent | ||||
Related Questions | ||||
What is POJO ? | ||||
How are POJO's and DTO's related ? | ||||
What is the difference betwen Bean and Pojo ? | ||||
| ||||
Ans. POJO is Plain Java Object that holds only Member Elements , getters are setters and minimal processing on that. The primary purpose of such object is to either transfer information or keeping state for a while. They are not intended to provide any processing or transformation. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  POJO   Plain Java Objects | ||||
Related Questions | ||||
What is a Java Bean ? How is it different from other Java classes ? | ||||
How are POJO's and DTO's related ? | ||||
What is the difference betwen Bean and Pojo ? | ||||
| ||||
Ans. DTO's are a kind of POJO's that are intended to transfer information across different architecture layers. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  POJO  DTO | ||||
Related Questions | ||||
What is a Java Bean ? How is it different from other Java classes ? | ||||
What is POJO ? | ||||
What is the difference betwen Bean and Pojo ? | ||||