What is the correct code for a constructor for such a linked list class?

A queue based on a linked list uses the following code

```
class Node
{
String element;
Node next;
Node (String el, Node n)
{
element = el;
next = n;
}
}
Node front, rear;

```

A) element = el; next = n;
B) front = rear;
C) front = null; rear = null;
D) front = element; rear = front;


C) front = null; rear = null;

Computer Science & Information Technology

You might also like to view...

________ switches Office into a version that makes a touch screen easy to use

A) Gesture Mode B) Swipe Mode C) Touch Mode D) Tap Mode

Computer Science & Information Technology

Video for computers and high-definition monitors is displayed at ________ pixels and requires the most storage space

Fill in the blank(s) with correct word

Computer Science & Information Technology

A tag is a keyword that you might assign to describe ____ to make them easier to find at a later time.

A. e-mail messages B. blog posts C. Web pages D. pictures

Computer Science & Information Technology

An animated object moving in the direction of 180 degrees is moving east.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology