user100DaysOfCode
CommunityDevTermsResources|Login

Loading

Java Roadmap

Day 23: Queue

Write a program that performs the following tasks:
  • Initialise a Queue of String values and add items to it
  • Remove the head element from the Queue
  • Print the first element of the Queue without removing from it
  • Check if a value exists in the Queue
  • Print the number of values(size) in the Queue
  • Remove all values from the Queue
<Prev|Next>

Learning Resources |View Complete Plan

Day 23 - Queue

Write a program that performs the following tasks:
  • Initialise a Queue of String values and add items to it
  • Remove the head element from the Queue
  • Print the first element of the Queue without removing from it
  • Check if a value exists in the Queue
  • Print the number of values(size) in the Queue
  • Remove all values from the Queue
<Prev|Next>

Learning Resources |View Complete Plan

      Sponsor Us|Community|Blog|YoutubeCareersContact UsDisclaimerPrivacy PolicyTerms of Service
      Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
      100DaysOfCode@2024