Search:

Type: Posts; User: term204

Search: Search took 0.09 seconds.

  1. Re: Java Arrays problems with method invetir Not compile

    Thanks Norm,
    Now its working, i like this forum because you only post some tips and we can learn and not the whole answer without explanation like other forums..
    Thank you!
  2. Re: Java Arrays problems with method invetir Not compile

    Thanks Norm
    Not sure what you means... change the line 65?
    I changed to : double[] miArreglo.invertir();
    but receive this error:
    SamuelRiosP1.java:63: error: ';' expected
    double[]...
  3. Java Arrays problems with method invetir Not compile

    Here is my code:



    class ManejadorDeArreglos{
    int b;
    double temporero;

    ManejadorDeArreglos(double[] a)
    {
  4. Replies
    4
    Views
    710

    Re: Arrays not compile

    Great Thanks!
  5. Replies
    4
    Views
    710

    Re: Arrays not compile

    Now have this error:

    ----jGRASP exec: javac -g Empleado.java
    Empleado.java:9: error: constructor Empleado in class Empleado cannot be applied to given types;
    arrayObjetos[0]=new...
  6. Replies
    4
    Views
    710

    Arrays not compile

    Hi:
    Whats wrong here:



    public class EmpleadoApp {

    public static void main(String[] args) {

    //Creamos un array de objetos de la clase empleados
  7. Replies
    5
    Views
    1,145

    Re: Perimeter of polygon and area of triangle

    I do not know the formula to get the perimeter of the polygon.. :( i found similar code on internet and i try to insert here..


    Thanks
  8. Replies
    5
    Views
    1,145

    Re: Perimeter of polygon and area of triangle

    Here is the error:

    Herencia.java:109: error: array required, but double found
    perimeter = perimeter + yc[i].distanceTo(yc[i+1]);
    ^...
  9. Replies
    5
    Views
    1,145

    Perimeter of polygon and area of triangle

    Hello:
    Need help to figure out why my code fail to compile in the following functions:

    perimeter = perimeter + yc[i].distanceTo(yc[i+1]); //get polygon perimeter

    area = x1 * (y2 - y3) + x2 *...
  10. Re: Bicycle Code - need a little help or tips to continue my homework

    Thanks for the tips, still working on this program..

    --- Update ---

    How im able to calculate the total weight of the Bicicleta,

    Chasis weight(peso) + ruedaDelatera Weight(peso) +...
  11. Re: Bicycle Code - need a little help or tips to continue my homework

    We already ask but he sent the instruction by email , using exactly the same words that he already said.

    I'm going to continue this tonight... i found different examples in the web that maybe can...
  12. Re: Bicycle Code - need a little help or tips to continue my homework

    I'm ask myself the same question.. :(




    That's i understand, but the instructions are not too clear.
  13. Re: Bicycle Code - need a little help or tips to continue my homework

    The 3rd code , Class Bicicleta have the main() method included.

    its a little difficult to explain.. i will try...
    In the Class Bicicleta needs 2 objects of the Class Rueda(tire in english) and 1...
  14. Re: Bicycle Code - need a little help or tips to continue my homework

    How im able to configure the program to ask the user to enter the Rueda(tire) radio and weight, and the user can enter those values....
  15. Bicycle Code - need a little help or tips to continue my homework

    I create the following class: Rueda, Chasis and Bicicleta

    I need some tips and recomendation and examples to work with this program.

    I need to create a program where the object Bicycle will be...
Results 1 to 15 of 15