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. please correct things....and plz dont misguide
View Tutorial          By: amit verma at 2015-02-19 08:44:55

2. I have a sample code in which,

obje

View Tutorial          By: Tan Mi at 2011-10-25 23:24:10

3. Thank you for your simple example which will help
View Tutorial          By: eekld at 2012-01-04 15:46:48

4. can u explain about printStackTrace()method.what i
View Tutorial          By: himabindu at 2009-06-10 20:03:14

5. Not able to store on SD card.But storing on phone
View Tutorial          By: kusuma at 2015-07-25 13:42:17

6. I writing a main class in the eclipse IDE and call
View Tutorial          By: adam lim at 2013-03-11 04:13:51

7. One of the best
View Tutorial          By: Sudhir at 2009-12-22 01:45:28

8. Really helpful way of explanation..And the example
View Tutorial          By: pavan at 2010-04-17 03:10:58

9. Anyone can send me the java code for send and rece
View Tutorial          By: Alvin at 2008-03-21 01:12:50

10. @Sonal, as long as the image is stored in a server
View Tutorial          By: alex at 2012-11-07 07:25:40