Search:

Type: Posts; User: kirannayana

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    1,316

    Re: Understanding Classes and Objects

    public void setAuthor(String authorName)
    {
    authorName = authorName;
    }

    here compiler gets ambiguity because of parameter of function and class variable having same name.
    public...
  2. Thread: Need help

    by kirannayana
    Replies
    5
    Views
    1,232

    Re: Need help

    In "While loop" your not comparing value your assigning value to 'more' and your end while loop there only.It is suggestion for u must know about 'scope of variable' and 'while loop' and understand...
  3. Replies
    6
    Views
    1,316

    Re: Understanding Classes and Objects

    U had declared variables but didn't assigned the values yet.
    It is suggestion that u must know about "local variable and class variable " and u must know about "this" keyword in java it help in...
  4. Thread: Need help

    by kirannayana
    Replies
    5
    Views
    1,232

    Re: Need help

    /**Code removed by moderator*/
    it will work properly
Results 1 to 4 of 4