Search:

Type: Posts; User: JlovesJava

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,093

    Re: getPerimeter of a rectangle

    I got ' r can't be resolved error'; how should I construct Rectangle r?
  2. Replies
    6
    Views
    1,093

    Re: getPerimeter of a rectangle

    x and y are the co-ordinates of upper left corner and height and width are given as above. It suppose to return perimeter of the rectangle. I could n't find where to start? I know the formula to get...
  3. Replies
    6
    Views
    1,093

    getPerimeter of a rectangle

    public class Rectangle {



    public static void main(String[] args) {


    }

    public Rectangle(int x, int y, int height, int width)
  4. Replies
    5
    Views
    1,304

    Re: Getting multi mode problem

    Required output is commented at the bottom of the codes. If you already saw that and think it wasn't clear enough, the output should be the mode of the given data. In this case, there should be two...
  5. Replies
    5
    Views
    1,304

    Re: Getting multi mode problem

    I was trying to say print all the values that has equal number of repetitions, but I didn't see those two * * characters while posting. I am sorry for that.
  6. Replies
    5
    Views
    1,304

    Getting multi mode problem

    public class MmM{
    public static void main(String[] args)
    {

    double[] data = {1, 1, 2, 2, 3 };

    MmM.mode(data);
    }
    public static void mode(double [ ] numArray)
    ...
  7. Replies
    1
    Views
    1,058

    Hello, everybody!

    My name is Jai, I am from Bhutan. I have been learning java for 3 months and I love it. While I was surfing randomly through the internet, I found the link that led me here. It looks wonderful; lots...
Results 1 to 7 of 7