Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is a parent class in java?

0 Answers  


What is the difference between method overriding and overloading?

0 Answers  


what is the use of Clonable,and serializable interface?

1 Answers  


I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?

2 Answers   Huawei,


what are literals in java?

2 Answers  






what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!

7 Answers   emc2, Kumaran Systems,


What is the destroy method?

0 Answers  


What is the difference between ArrayList and Vector? which one is better in Java

0 Answers   SkillGun Technologies,


What do you understand by an io stream?

0 Answers  


Is null a string?

0 Answers  


How do you test a method for an exception using junit?

0 Answers  


java can provide security ,how can provide?

8 Answers   Aspire, BNP Paribas, Genpact, IBM,


Categories