Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class SquareNum

    java.lang.Object
      SquareNum

    public class SquareNum

extends java.lang.Object

This class demonstrates documentation comments.

Constructor Summary
`SquareNum()`

Method Summary
`double` | `getNumber()` This method inputs a number from the user.
`static void` | `main(java.lang.String[] args)` This method demonstrates square().
`double` | `square(double num)` This method returns the square of num.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SquareNum

    public SquareNum()

Method Detail

### square

    public double square(double num)

  This method returns the square of num. This is a multiline description. You can use as many lines as you like.

  Parameters:
    `num` - The value to be squared.
  Returns:
    num squared.

### getNumber

    public double getNumber()
                     throws java.io.IOException

  This method inputs a number from the user.

  Returns:
    The value input as a double.
  Throws:
    `java.io.IOException` - On input error.
  See Also:
    `IOException`

### main

    public static void main(java.lang.String[] args)
                     throws java.io.IOException

  This method demonstrates square().

  Parameters:
    `args` - Unused.
  Throws:
    `java.io.IOException` - On input error.
  See Also:
    `IOException`

Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Online Image Processing

Indian Baby Names

Online Image Processing

Indian Baby Names