Is it possible to achieve the encapsulation without class

Printable View