PLEASE TYPE ONLY***
JAVA PROGRAMMING
Program #2:
Write a class called YourFirstNameLine that represents a line segment between two Points. Your Line objects should have the following methods:
Write a client class called YourFirstNameLineTest with main method to test your Line class. In the main method, you need create a line object with the last four numbers of your Panther ID. For example, if your pantherid ends with xxxxx1234, then create and draw a line of between point (1,2) and point (3,4). (Hint: you will need the Point.java, DrawingPanel.java, YourFirstNameLine.java and YourFirstNameLineTest.java)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here