Comment on Tutorial - Stack example in Java - push(), pop(), empty(), search() By Henry



Comment Added by : ann

Comment Added at : 2015-02-02 09:23:41

Comment on Tutorial : Stack example in Java - push(), pop(), empty(), search() By Henry
why push is error in st.push(new Integer(a)); ? and pop in Integer a = (Integer) st.pop();??

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. This website is great for the students who want to
View Tutorial          By: Parth Patalia at 2009-11-19 21:09:24

2. Thanks a lot for the code...
thats working

View Tutorial          By: Rahul at 2008-06-28 14:16:10

3. Hi sir,
please send some sample code for sp

View Tutorial          By: hindu at 2013-03-21 06:00:09

4. My exchange email account is only partially delete
View Tutorial          By: ali at 2010-12-30 02:38:14

5. thanks..very nice and easy to understand for new j
View Tutorial          By: Ranjan at 2011-07-22 08:34:50

6. Hi Steve,

thanks for your code. It

View Tutorial          By: Johnny at 2010-10-29 09:25:41

7. This is an old method although it works. The bette
View Tutorial          By: Emiley at 2013-01-11 03:56:02

8. i got error like this java.lang.RuntimeException:
View Tutorial          By: Saliya at 2014-08-22 10:12:16

9. Hi,
Any body tell me how to these execute t

View Tutorial          By: mari at 2009-07-09 02:02:12

10. please correct things....and plz dont misguide
View Tutorial          By: amit verma at 2015-02-19 08:44:55