Search:

Type: Posts; User: pejagusta

Search: Search took 0.08 seconds.

  1. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    Create an abstract class called GeometricFigure. Each figure includes a height, a width, a figure type and an area. Include an abstract method to determine the area of the figure. Create two...
  2. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    can u give me the output for my question .
  3. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    (DO NOT define height, width, type, and area for those two objects; by extending GeometricFigure, you can use the height, width, type, and area attributes from that class) what do you mean? can give...
  4. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    class Triangle {
    private int width, height;
    public Triangle(int w, int h) {
    width = w;
    height = h;
    }
    public void setWidth(int w) {
    width = w;
    }
    public void setHeight(int h) {
  5. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    i done for this code but i have many error :-s
  6. Replies
    16
    Views
    3,210

    Re: how to solve this question ? please help me

    can you give the code for this question ? i just need the code
  7. Replies
    16
    Views
    3,210

    how to solve this question ? please help me

    Create an abstract class called GeometricFigure. Each figure includes a height, a width, a figure type and an area. Include an abstract method to determine the area of the figure. Create two...
Results 1 to 7 of 7