Search:

Type: Posts; User: guled

Search: Search took 0.33 seconds.

  1. Re: whats wrong with code, please help me understand thanks

    stop asking silly question s and help me if u can,....if you can't then leave the page
  2. Re: whats wrong with code, please help me understand thanks

    it is in java.lang.object
  3. Replies
    3
    Views
    228

    Re: who can help me write this program?

    public class Rectangle
    {
    private int width;
    private int height;
    public Rectangle(int width, int height)
    {
    Rectanlge x = new Rctangle(int width, int height);
    int x = getCircumference();...
  4. Re: whats wrong with code, please help me understand thanks

    it says the method getDiagonal is undefined for the type Rectangle

    --- Update ---

    it says the mehod getDiagonal() is undefined for the type Rectangle
  5. Replies
    3
    Views
    228

    who can help me write this program?

    The UML diagram of the Rectangle class of type.lib contains the following two entries in the method compartment:
    getCircumference() : int
    hashCode() : int

    write the app that...
  6. whats wrong with code, please help me understand thanks

    public class Rectangle {

    public Rectangle(int width, int height) {
    Rectangle x = new Rectangle(7, 9);
    double d = x.getDiagonal();
    System.out.println(d);



    }
  7. Re: whats wrong with this code....it says, 'the operator / is undefined for z=1.0-"A" / 2.0

    so guide me through because am a beginner, I want the value of x to be displayed. ..thanks

    --- Update ---

    thanks
  8. whats wrong with this code....it says, 'the operator / is undefined for z=1.0-"A" / 2.0

    import java.lang.System;
    public class Check01D {

    public static void main(String[] args) {
    // TODO Auto-generated method stub

    double z;
    z = 1.0 - "A" / 2.0 + 1.0 % 2.0;
    double y;...
Results 1 to 8 of 8