Q:

what is the meaning of :MyInterfaceA myvariable in java?

Hi guys unsure of a line of code 
It look like the hierarchy below. 
 public interface MyIntA<T extends MyIntB> {
   //stuff
}

and the second one
public interface MyIntB<T extends MyIntC>{
//stuff
}

and then in the else where in the code I see this 
MyIntA<MyIntB> var = doStuff(); 

where doStuff(); has a return type of
<T extends MyIntB> MyIntA <T>

How is it that MyIntA<MyIntB> var is allowed ?
What type is var ? of type Interface<Interface> ? 

A:

Let me give you an existing example which may help you to understand-
We all use the java.util.List. List is an interface and following is the signature of List
public interface List <E> {
    void add(E x);
    Iterator<E> iterator();
    ...........
}

Now here E is the variable types which will be used in List. So when you are declaring a List variable with type Integer you are calling like following
List<Integer> list;

In your example the same thing is happening. You defining a MyIntA variable where you will use this variable for some type which extends MyIntB. 

What type is var ? of type Interface ?

Interface is not a type.. the type of var is the same as it is declared, which is MyIntA<MyIntB>
For more details you can check the doc

