Design Notes
Design Notes
Python
public class Address {
private String streetAddress;
private String city;
private String state;
private String zipCode;
private String country;
}
Python
// For simplicity, we are not defining getter and setter functions. The reader can
// assume that all class attributes are private and accessed through their respective
// public getter method and modified only through their public setter method.
Python
Python
}
public class Wicket {
private WicketType wicketType;
private Player playerOut;
private Player caughtBy;
private Player runoutBy;
private Player stumpedBy;
}
Mark as Completed
← Back
Design LinkedIn
Next →
Design Facebook - a social network
Stuck? Get help on
DISCUSS
Send feedback
6 Recommendations