pojo java,什么是java pojo类,java bean,普通类?
Hi please dont say my question is duplicate :-) i saw all questions but didnt understand exact difference.
Can some one explain about what is POJO, Bean, Normal Class in easy language.
解決方案
Normal Class : A Java class
Java Beans :
- All properties private (use getters/setters)
- A public no-argument constructor
- Implements Serializable.
Pojo :
Plain Old Java Object is a Java object not bound by any restriction other than those forced by the Java Language Specification. I.e., a POJO should not have to
Extend prespecified classes
Implement prespecified interface
Contain prespecified annotations
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的pojo java,什么是java pojo类,java bean,普通类?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql定位前后端问题_Web 前后端
- 下一篇: java lr分析表建立程序_[源码和文