Implement a Stack with 2 threads in which one thread push data and another pop data.
Questions
Search
List By Company
List By Topic
Legacy
Tests
Repository
DashBoard
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Best Of Java
Discussion
Search
Subscribe
Search Interview Questions
More than 3000 questions in repository.
There are more than 900 unanswered questions.
Click here
and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company
Label / Company / Text
Search
Submit Question
Interview Questions and Answers
Q1.
Implement a Stack with 2 threads in which one thread push data and another pop data.
Data Structure
This question was recently asked at 'HCL Technologies'.This question is still unanswered. Can you please provide an answer.
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 stack
Asked in 1 Companies
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
Why two types of memory - stack and heap are required by Java ?
Which memory areas does instance and static variables use ?
What will happen if we don't have termination statement in recursion ?
Which kind of memory is used for storing object member variables and function local variables ?
Why do member variables have default values whereas local variables don't have any default value ?
Difference between Stack and Heap memory ?
Which type of memory is cleaned / recovered by garbage collection - stack or heap ?
What is the difference between pop and peek function of stack ?
What will happen if we don't have termination statement in recursion ?
Given a string and index for the opening bracket, find the index of matching closing bracket.
Help us and Others Improve. Please let us know the questions asked in any of your previous interview.
Any input from you will be highly appreciated and It will unlock the application for 10 more requests.
Company Name:
Questions Asked: