Skip to content

Instantly share code, notes, and snippets.

@gurkanoluc
Created April 6, 2011 17:18
Show Gist options
  • Save gurkanoluc/906080 to your computer and use it in GitHub Desktop.
Save gurkanoluc/906080 to your computer and use it in GitHub Desktop.
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Car c1 = new Car("Ferrari");
Car c2 = (Car) c1.clone();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment