1372 Creating HTML Documentation with javadoc (Medical web site) (on CD)

1372 Creating HTML Documentation with javadoc (on CD) Appendix F 16 private int minute; // 0 - 59 17 private int second; // 0 - 59 18 19 20 /** 21 * Time3 constructor initializes each instance variable 22 * to zero. Ensures that Time object starts in a 23 * consistent state. 24 * @throws Exception in the case of an invalid time 25 */ 26 public Time3() throws Exception 27 { 28 setTime( 0, 0, 0 ); 29 } 30 31 32 /** 33 * Time3 constructor: hour supplied, minute and second 34 * defaulted to 0 35 * @param h the hour 36 * @throws Exception in the case of an invalid time 37 */ 38 public Time3( int h ) throws Exception 39 { 40 setTime( h, 0, 0 ); 41 } 42 43 /** 44 * Time3 constructor: hour and minute supplied, second 45 * defaulted to 0 46 * @param h the hour 47 * @param m the minute 48 * @throws Exception in the case of an invalid time 49 */ 50 public Time3( int h, int m ) throws Exception 51 { 52 setTime( h, m, 0 ); 53 } 54 55 /** 56 * Time3 constructor: hour, minute and second supplied 57 * @param h the hour 58 * @param m the minute 59 * @param s the second 60 * @throws Exception in the case of an invalid time 61 */ 62 public Time3( int h, int m, int s ) throws Exception 63 { 64 setTime( h, m, s ); 65 } 66 Fig. F.2Fig. F. A Java source code file containing documentation comments (part 2 of 5).
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.

Leave a Reply