Skip to content

Instantly share code, notes, and snippets.

@orb orb/
Created Jun 16, 2014

What would you like to do?
public class Marker {
public String color;
public String tip;
public Marker(String color, String tip) {
this.color = color;
this.tip = tip;
public void write() {
System.out.println("Writing with a " + this.tip +
" " + this.color + " marker");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.