Search:

Type: Posts; User: Shivafeb17

Search: Search took 0.72 seconds.

  1. Replies
    5
    Views
    203

    Re: One Simple Question

    Cronus, but, whatever the order of classes that I write. the Java files name should be same as the class name that is written first.

    That's what confusion most.
    For ex : class name1{ }
    class...
  2. Replies
    5
    Views
    203

    Re: One Simple Question

    Thank you for the useful reply......
  3. Replies
    2
    Views
    156

    Re: Simple Question

    Thank you....... :-)
  4. Replies
    5
    Views
    203

    One Simple Question

    If I have class1, class2 and class3, and main () is written in class3.... Why should I use the file name of the class1 to complite the program. Why cannot I use the file name of the class that...
  5. Replies
    2
    Views
    156

    Simple Question

    class Testing1{

    int a=10;

    void test1Methode(Testing1 testObj1){
    System.out.println(testObj1.a);
    }
    }

    class Testing2{
  6. Re: What is wrong with function return values

    That worked !!! Thanks :-) but also i had to remove public modifier of class Addition2.. why is that?
  7. Re: What is wrong with function return values

    I send 3 values to add function, the values are calculated in class Addition, After that, the result is sent back to the main fiunction, so that the values are received in (temp1, temp2)variables....
  8. What is wrong with function return values

    I want to receive the values of the add()
    in the Addition2 Class using the object :

    What is wrong with this code?

    class Addition{
    int a;
    int b;
    int c;
Results 1 to 8 of 8