Advertisement
chloelwt

Untitled

Nov 20th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. public class Pen {
  2.  
  3. char stroke;
  4.  
  5. public Pen(char stroke) {
  6. this.stroke = stroke;
  7. }
  8.  
  9. public char getStroke() {
  10. return this.stroke;
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement