You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

OlimilO

Intermediate

  • "OlimilO" is male
  • "OlimilO" started this thread

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

1

Tuesday, November 22nd 2011, 11:37pm

interface inheritance

Hi
in Java and in VB.net it is possible for one interface to extend, resp. inherit from, multiple other interfaces.
example in VB.net code:

Jabaco Source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Public Interface IMy1
Sub FooMy1()
End Interface
Public Interface IMy2
Sub FooMy2()
End Interface
Public Interface IMy3
Inherits IMy1, IMy2
Sub ding1()
End Interface

Public Class MyCls1
Implements IMy3
Public Sub FooMy1() Implements IMy3.FooMy1
End Sub
Public Sub FooMy2() Implements IMy3.FooMy2
End Sub
Public Sub ding1() Implements IMy3.ding1
End Sub
EndClass


is this possible in Jabaco?
If not, this is a suggestion for future plans on the Jabaco-Compiler.
MoreOver in vb.net it is possible to define Events in an interface
is this possible in Jabaco?
If not, this is a suggestion for future plans on the Jabaco-Compiler.
regards
OlimilO

This post has been edited 1 times, last edit by "OlimilO" (Nov 22nd 2011, 11:45pm)


Rate this thread
WoltLab Burning Board