Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

What is a POJO

+5 votes
What is a POJO and what is it's use case? I found a reference to it in some JUnit tutorials. Apparently it means a Plain old Java Object, is it just an object? Or is this like... legacy objects?
asked Oct 11, 2017 in CSC 285 (F17) by Daniel Zwiener (100 points)

1 Answer

+1 vote
Best answer
It seems like POJOs are objects that don't use other special interfaces or frameworks. So for instance if we write a Player class for our game I believe that is classified as a Plain Old Java Object since it is not using any interfaces or frameworks to be functional.
answered Oct 11, 2017 by Brandon Thompson (100 points)
selected Oct 11, 2017 by Daniel Zwiener