Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Queue Question? AbstractQueue

Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

You want to create your own custom queue class. You don't want or need null elements in this queue. Which class or interface will your class inherit from ? Choose the preferred class header.

class CustomQueue<E> implements Queue
class CustomQueue<E> extends AbstractQueue
class CustomQueue<E> extends Queue
class CustomQueue<E> implements AbstractQueue

Help me to understand the question!!!

It runs on an internal combustion engine. This ad does not:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic