37 lines
387 B
Java
Executable File
37 lines
387 B
Java
Executable File
class Test
|
|
{
|
|
}
|
|
|
|
|
|
|
|
class List1<A, B>
|
|
{
|
|
A ab;
|
|
C da;
|
|
|
|
B bu()
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
|
|
class Listst2<A>
|
|
{
|
|
A object = null;
|
|
Listst2<A> next = new Listst2();
|
|
}
|
|
|
|
|
|
|
|
class MainKlasse<x> extends List1<List1<Test, Test>, List1<Test, Test>>
|
|
{
|
|
x ra;
|
|
List1<Test, Test> li = new List1();
|
|
|
|
void main()
|
|
{
|
|
List1<Test, List1<Test, Test>> si = new List1();
|
|
si.bu();
|
|
}
|
|
} |