Search:

Type: Posts; User: jason3460

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,180

    Re: Help with Inheritance and Polymorphism

    if (number == 1)//this will use the Square class
    {
    Square square = new Square(length);
    System.out.println("Enter the length: ") ;
    length =...
  2. Replies
    5
    Views
    1,180

    Re: Help with Inheritance and Polymorphism

    How can i make it so that,
    1. the user presses a number to select a shape, for example, 1 for the Square,
    2. then the user enters the Length, for example 4,
    3. this number is then sent to the...
  3. Replies
    5
    Views
    1,180

    Help with Inheritance and Polymorphism

    Hey, I need to allow the user to select a shape, out of three shapes, Square, Circle or Triangle.
    They then input a Length value for that shape, which is then used to calculate the boundary length...
Results 1 to 3 of 3