Question d’entretien chez Genesys

how is encapsulation implemented in java?