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



Ask a Question

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. In listing 6.2 I don't see the variable name itsAg
View Tutorial          By: JC at 2013-04-16 01:49:52

2. neded defination in clear
View Tutorial          By: venkat at 2011-07-04 06:31:19

3. You said the garbage collector can not be forced,
View Tutorial          By: Biniam E at 2011-12-17 15:09:09

4. This is pretty straightforward and got me to under
View Tutorial          By: Renoir Boulanger at 2009-09-01 09:49:24

5. what items do i add?
View Tutorial          By: Camo at 2015-09-30 23:02:10

6. Do you happen to have the code of if statement for
View Tutorial          By: James at 2012-06-04 09:02:31

7. i want to know all things about java in a simple w
View Tutorial          By: jayanthi at 2011-12-01 08:08:56

8. me too
View Tutorial          By: bellyjoy at 2010-05-07 03:14:14

9. Real Life example of using Volatile
*******

View Tutorial          By: Mayank at 2011-01-25 15:44:21

10. It has been really helpful for me to gather inform
View Tutorial          By: sonam at 2009-03-08 09:41:33