Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: 20111101205604 Download
 Description: 2) define the interfaces Printable, including a method printItMyWay (), this method does not shape parameters, return value is null. 3) rewrite the rectangle class, so to achieve Printable interface, with printItMyWay () method will rectangle information (length, width, Zhou Length, area) printed on the screen. 4) rewrite the square class, override printItMyWay () method, a square of side length, perimeter, area printed on the screen. 5) In the Printable interface adds a new printItMyWay (char) method, this method has a character type parameter, return Return value is null. Its function is to print using the given character, for example, if a given character to#, a length of 5, 3 wide rectangular screen printing results Results are: ##### ##### ##### Rectangular square in the class and the class implements this method.
 Downloaders recently: [More information of uploader zhangxuli1990]
 To Search:
File list (Check if you may need any files):
20111101205604.doc
    

CodeBus www.codebus.net