Search:

Type: Posts; User: Bhawani

Search: Search took 0.12 seconds.

  1. Re: How to create a parametrized constructor ,with parameters accepting from a accept() function?

    Make accept() static and you can call it with class name directly.

    Static functions doesn't require object to call them they can be called using the class name only.
    static functions are called...
  2. Re: Java beginner..!! I want to know how exactly work is being done by java programming in the comany..

    practical knowledge and logical thinking matters a lot. AFAIK theory doesn't help you in getting the job
  3. Thread: arraylist

    by Bhawani
    Replies
    4
    Views
    947

    Re: arraylist

    You have defined the newStudent inside the addStudent() and you are accessing the newStudent in showSubject(). This is the root of problem.
    Either pass newStudent to showSubject() or declare...
  4. Re: Netbeans-generate number of radio buttons dynamically

    well it can be done like this:
    Create a jscrollpane
    add panel to it
    Set the layout of panel to your desired layout
    connect to database and get the number of rows or tuples.
    call addRadioBtn(your...
  5. Re: Help me understand what the print out sequence is please

    The output will be :
    x c g
    First the static block will print, then the constructor, and finally the go() will print
  6. Re: How to create a parametrized constructor ,with parameters accepting from a accept() function?

    You can have as many constructor you want in your class. There is no restriction on it.
  7. Replies
    17
    Views
    1,238

    Re: how to do this simple java program?

    @avistein You haven't defined a default constructor for the class.
    You have defined the parameterized constructor for your class and when there is a parameterized constructor in the class then you...
Results 1 to 7 of 8