java kapseln Kapsels Kapseln Java 11 feb, 2021 For that create 2 classes-one with main method and other with getting and set methods. Let us see an example of Encaps…