About 283,000 results
Open links in new tab
  1. How to call a method in DLL in a Java program - Stack Overflow

    Aug 22, 2014 · The name of the function exported from your DLL must match the following pattern: Java_classname_methodname where classname is the name of the class where you …

  2. java - How to call a method function from another class ... - Stack ...

    Oct 9, 2014 · But in your code you are not required to create an object to call function of Date and TempratureRange. As both of the Classes contain Static Function , you cannot call the thoes …

  3. Call Kotlin suspend function in Java class - Stack Overflow

    Oct 18, 2018 · I used to have Java code that managed to create an implementation of Continuation and call a suspend fun, but in Kotlin 1.3 Continuation declares …

  4. Can we call a function within a function in Java? - Stack Overflow

    Oct 4, 2012 · Now if we do not declare a method to be static and also do not instantiate, can we call a function within a function? EDIT: I understand now, that my hunch was right. We cannot …

  5. How can one java file call methods from another java file?

    Apr 11, 2017 · Your question is not clear to me, as far as I understand you want to call a method of another Java file (I assume another Java class). So consider you have java files A.java and …

  6. How to asynchronously call a method in Java - Stack Overflow

    Dec 4, 2009 · Java also provides a nice way of calling async methods. in java.util.concurrent we have ExecutorService that helps in doing the same. Initialize your object like this - private …

  7. How to call a method in another class in Java? - Stack Overflow

    Jul 11, 2013 · Currently I have two classes. a classroom class and a School class. I would like to write a method in the School class to call public void setTeacherName(String …

  8. reflection - How do I invoke a Java method when given the …

    public or non-public method call (for the latter,you need to call setAccessible on the method within an doPrivileged block, other findbugs won't be happy) encapsulating into one more …

  9. Call c function from Java - Stack Overflow

    May 11, 2011 · In simple terms, just make sure you load the relevant library which contains the function definition, load the library which follows the JNI specification and wraps the target …

  10. super() in Java - Stack Overflow

    Sep 22, 2010 · Here we are getting two outputs, 100 and 200. When the Show() function of the derived class is invoked, it first calls the Show() function of the parent class, because inside …