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

How to sort double array in java?

0 Answers  


How will you get the platform dependent values like line separator, path separator, etc., ?

0 Answers  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


What is identifier give example?

0 Answers  


Can we nested try statements in java?

0 Answers  






what is web.xml?and its use?

7 Answers   CTS,


What is a thin-client application?

5 Answers   Adobe,


Is string pool garbage collected?

0 Answers  


Does java initialize arrays to zero?

0 Answers  


Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.

4 Answers  


What is cloneable interface?

8 Answers  


How do you compare values in java?

0 Answers  


Categories