Question: True or False: We are not allowed to create an object of a generic type, e . g . new T ( ) ; A
True or False: We are not allowed to create an object of a generic type, eg new ;
A True
B False
True or False: The following code causes compiler error because we can't create array of generic type.
arr new ;
A True
B False
True or False: In our CSE PAs, we expect our students to use JUnit framework to test our codes.
A True
B False
True or False: We can't instantiate an object from an interface but we can create references from an
interface.
A True
B False
True or False: We can't instantiate an object from an abstract class but we can create references from an
abstract class.
A True
B False
True or False: A Java class can only inherit from one interface but can inherit from multiple classes.
A True
B False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
