Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: ShapeExp2 Download
 Description: Personal original code: the operation of the rectangular, circular, five-pointed star shape.The Shape to write java application program to create an interface, including the area of abstract methods, the Circle class, the Rectangle area method to calculate the area and return. Another Star Shape of area method, the return value is 0, the Star class, otherwise returns the value of a boolean method isStar in the main method to create a Vector, according to the random number to join Shape subclass object (in the case of 1, generate a Circle object case 2, generate the Rectangle object the case of three objects generate Star). Vector elements turn out to determine whether it is the Star class. The case of return is a Star. Otherwise, return to their area.
 Downloaders recently: [More information of uploader plum.0602]
 To Search:
File list (Check if you may need any files):
本Java程序设计详细要求.txt
ShapeExp2.java
    

CodeBus www.codebus.net