adplus-dvertising
frame-decoration

Question

What does the following code block define?
class Gen<T> {  
                  T ob;    
              }

a.

Generics class decleration

b.

Decleration of variable

c.

A simple class decleration

d.

Both a & b

Answer: (d).Both a & b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following code block define?