What is POJO | POJO Class in Java | PLM Developer

POJO stands for Plain Old Java Object. POJO class is a bind of private fields and public getter and setter methods. POJO classes mainly used for readability and re-usability of code.

Features of POJO class:
  1. POJO class must be public so that it is accessible to all.
  2. Fields or variables defined in the POJO class must be private so that they cannot be accessed directly.
  3. POJO class must have a default no-argument constructor.
  4. Getter and Setter methods in the class should be public.

POJO Class Example:

public class Employee {
private String id;
private String name;

public Employee (String id, String name) {
  this.id = id;
  this.name = name;
public String getId() {
      return id;
public String getName() {
  return name;

Post a Comment


  1. This comment has been removed by a blog administrator.

  2. The sheriff shall hold the stated property seized pending its disposal by the courtroom as hereinafter provided. This section does not apply to pari-mutuel 토토사이트 wagering authorized beneath chapter 550. This section shall not apply to pari-mutuel wagering in Florida as authorized beneath chapter 550. Placing all or a part of} accepted wagers with different bookmakers minimize back} the chance of monetary loss. Taking benefit of betting odds created to supply a revenue for the bookmaker or charging a share on accepted wagers. “Bowling center” means a office having minimal of|no much less than} 12 bowling lanes on the premises that are operated for the leisure of basic public|most of the people|most people} for the purpose of participating in the sport of bowling.