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

Reply via email to