Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads WEB Code JSP/Java
  • Category : JSP/Java
  • Tags :
  • Update : 2013-06-06
  • Size : 2kb
  • Downloaded :0次
  • Author :cui fan
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Step1: for the experiment three rectangle defined class derived a subclass: Square classes. Square type of operation is also seeking perimeter and area. Then in addition to this subclass inherited from the parent class methods, but also need to define what methods? Square class lists all domains and methods. Written verification squares programming class. Step2: defines the interface Printable, including a method printItMyWay (), this method does not shape parameter, the return value is null. Step3: rewrite Rectangle class that met Printable interface with printItMyWay () method of the rectangle information (length, width, perimeter, area) printed on the screen. Step4: rewrite the square class, overloading printItMyWay () method, the square side length, perimeter, area printed on the screen. Step5: Finally, rectangles and squares organized into a package MyFigures.
Packet file list
(Preview for download)


MyFigures\Printable.java
.........\Rectangle.java
.........\Square.java
q4_1.java
MyFigures
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.