Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
calling
  •  

  • Daniel101
    started a topic Passing a Method?
    in Java

    Passing a Method?

    Hello, I'm still new to Java and I have a certain problem in my code.

    I've made 2 classes (Person and Group) and 1 demo (Which is used for testing my classes).

    Person works perfectly fine when I use it along with my demo.
    Though, I'm having a bit of trouble importing/using certain methods from Person in Group.
    The problem is that I do not know how to import/use a method from another class in my Group class...
    See more | Go to post

  • 360monkey
    started a topic calling a function from a module in a class

    calling a function from a module in a class

    I recently tried to start learning GUI for python, and reverted back to python 2.6.4

    my question:

    in python 3.1.1,:
    >>>import title
    >>>title.class. function()
    >>>running program

    in python 2.6.4:
    >>>import title #working fine
    >>>title.class. function()
    then I get this:
    unbound method must be called with class...
    See more | Go to post
Working...