For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Please tell me why the below code is giving error.
class parent<T>
{
T ob;
public parent()
ob=new T(); // Can not create an instance of parameterized type
}