Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

an example call java func in C#

843829Dec 6 2002 — edited Mar 27 2003
Do anybody have an example about call a java function in C#?
i.e. I have the following java class:
//javaClass.java
public class javaClass{
public String getString(String s){
return s + " From real java!";
}
}
How can I call the function getString() in C#?

Can anyone shed light on? Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2003
Added on Dec 6 2002
4 comments
518 views