Question
What’s difference between Stack and Queue?

Answers

Stack and Queue both are used as placeholder for a collection of data. The primary difference between a stack and a queue is that stack is based on Last in First out (LIFO) principle while a queue is based on FIFO (First In First Out) principle.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Is drill down possible without the attribute being a part of a hierarchical dimension?
  • Q Have you ever played conkers?
  • Q Who was the first high commissioner Of India to Britain?
  • Q What was Winston Churchill's codename during WW2
  • Q What is Protocol Data Unit
  • Q In Cranium Comman in EPCOT, what is the name of the young boy whose brain is piloted by Buzzy?
  • Q What is front controller in Spring MVC
  • Q What is gimp?
  • Q Tell me is it possible that a thunderstorm happen with snow?
  • Q What product launched in India called Sakshat ('before your eyes') with the incredible selling price of 500 rupees (about £7)?
  • Q How much were you absent from your last job?