|
Bikle.com web Portfolio: http://VietEnglish.com http://Edgar411.com http://ForumGrouper.com http://hpricot.com
Ajax Demo:
Categories
of
URLs
Plain HTML
(no Ajax here): Categories:
|
TThier/Languages/java/bikleDemo2/ Dan Bikle This page introduces a simple Java demo. The demo is made up of a couple of classes which are linked below along with a screen dump: BikleDemo2-java.txt FromKeyBoard-java.txt bikleDemo2screenDump.txt More description behind this somewhat contrived demo: This is a program to help the user specify the construction of a cistern to be used for the storage of water. Input from the user: . Diameter of the Cistern . Depth of the Cistern Output to the user: . Total storage capacity in cubic feet . The amount of concrete needed for the floor in cubic feet . Total number of bricks needed for construction Sides of the cistern: The cistern will be lined with bricks. These bricks are available in a standard size. They may be cut down, but you cannot get them in a larger size. Brick dimensions: Length 1.0 ft Width 0.5 ft Depth 2/12 ft The floor of the cistern: The floor of the cistern will be a circular slab of concrete 6 inches thick. Important Formulas: Area Of A Circle = pi * Radius2 Volume of a cylinder = Area of floor * Depth Circumference of a Circle = Diameter * pi After writing and testing the above classes, I used a utility named "javadoc" to generate documentation for the above classes. A screen dump of me running the javadoc utility is linked below: javadoc.txt The javadoc utility generated HTML documentation for the above classes. That documentation is linked below: javadoc/index.html |
|
|
http://bikle.com |
Built With Rails |
4096 Color Wheel |