i was looking for a way to call a java method from a python file, and i found that the "jPype" allows us to do that so i have installed it (on linux) and when looking for exemples on how to use it, i found this one in the net
the java file is:
#A.java
Code:
class A
02 {
03 public A()
04 {
05 super();
06 }
07 public String sayHi()
08