How can one create a POJO in python.I mean a class like this
class A { private a; private b; public getA() { return a; }
public getB() { return b }}
I tried creating class in python but the variables were accessible as public
data members.
Any help?
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
- [Tutor] Creating a pojo in python rakesh sharma
- Re: [Tutor] Creating a pojo in python Danny Yoo
- Re: [Tutor] Creating a pojo in python Alan Gauld
- Re: [Tutor] Creating a pojo in python Mark Lawrence
- Re: [Tutor] Creating a pojo in python Dave Angel
