Java supports type inferencing with the <> notation in statements that declare and create generic type variables and objects. For example, the following line:

List list = new ArrayList();

can be written as:
a. List<> list = new ArrayList<>();
b. List<> list = new ArrayList();
c. List list = new ArrayList<>();
d. List list = new ArrayList();

c. List list = new ArrayList<>();

Computer Science & Information Technology

You might also like to view...

The text color of a hyperlink changes if it has been previously clicked and followed to a website

Indicate whether the statement is true or false

Computer Science & Information Technology

Creating a ________ may be one of the most difficult tasks that will fall to the disaster recovery team leader

A) team spirit B) need for the plan C) qualified team D) diverse team

Computer Science & Information Technology