Guest User

Untitled

a guest
Oct 17th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public interface IDrawing
  2.  
  3. public class Line implements IDrawing
  4.  
  5. public LineChanger(Line line)
  6.  
  7. //drawing variable is of class Line implementing IDrawing
  8. .getDeclaredConstructor(IDrawing.class).newInstance(drawing);
  9.  
  10. public LineChanger(IDrawing line)
Add Comment
Please, Sign In to add comment