• Saves Valuable Time
  • Trusted Accuracy for 14 Years
  • 15-Day Money-Back Guarantee

VB Equivalent to Java Interfaces

Java VB
public interface IFoo
    void Method();

public class Foo implements IFoo
    public final void Method()
Public Interface IFoo
    Sub Method()
End Interface

Public Class Foo
    Implements IFoo

    Public Sub Method() Implements IFoo.Method
    End Sub
End Class

*note that you can use a method name which does not match the interface method name, provided that the 'Implements' name matches

Use Java to VB Converter to convert from Java to VB.     

Additional resource: VB.NET and Java Equivalents

Copyright © 1997 – 2018 Tangible Software Solutions Inc.