1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
valina [46]
3 years ago
6

The java class library interface queue method tagg retrieves the entey at the front of a queue but themrows a NosuchElementExcep

tion if the queue was empty is
A.poke

B.empty

C.look

D.peek
Computers and Technology
1 answer:
SCORPION-xisa [38]3 years ago
5 0

Answer:D) peek

Explanation:Peek operation or function is the method that is used for the returning of the values on the front of the queue or stack type datatypes.               This operation function over those datatypes having group or collection of the elements and does not eliminate any element from the queue.

NOsuchElemnet exception is shown when there is the peek operation in the queue for the element to be displayed on the top and no deletion can take place .Thus, the correct option is option(D).

You might be interested in
Clarissa is a computer programming consultant. When a client states that they have an extremely complex programming task, which
Ann [662]

Answer:i think its D it makes more sense also can i get brainliest

Explanation:

5 0
3 years ago
Read 2 more answers
Sharon has multiple tables in her database. she wants to view related records in those tables. what should sharon do to view the
den301095 [7]

according to plato she should create relationships between the tables

3 0
3 years ago
Trisha's computer kept rebooting frequently. Therefore, she decided to call customer support. When he was checking the computer,
harkovskaia [24]
Answer: F10 or delete key. when you click these keys they usually will take you to the bios to look over the computers system to make sure that everything is working properly.
7 0
3 years ago
An online article in 2001 described a study in which twelve sixth-grade students who had not previously played chess participate
ipn [44]
Bdbxhdhdhdbxbdhdhxhxhdhdhdhdhdhdhdhdhdbdhdhdhdhdhdhrhrhrhrhrhdhdhdhdisisieiejjdidieieieieieiei
6 0
3 years ago
Which definition of intelligence is based on the Turing test?
Kitty [74]

Answer:

The Turing Test is a deceptively simple method of determining whether a machine can demonstrate human intelligence

Explanation:

8 0
3 years ago
Other questions:
  • Which of the following is NOT a sedimentary structure?
    8·2 answers
  • What does atx stand for?
    10·2 answers
  • if you want to present slide to fellow student or co-workers, wich productivity software should you use to create them?
    7·1 answer
  • Binary code what does this mean I was sick so I don't under stand
    7·2 answers
  • Which option allows you to add different effects for each of the bulleted items on your slide
    13·1 answer
  • Which of the following can a cell contain?
    7·2 answers
  • Who initially developed what is now known as the internet?
    5·1 answer
  • Draw a full binary tree of height 2. How many nodes does it have?
    5·1 answer
  • What is computer science ​
    5·1 answer
  • Which two statements describe features of an ipv4 routing table on a router? (choose two.)
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!