Comments

 
User Comments for the tutorial:

Implementing a Stack in Java



Total comments: 11      View Tutorial    Discuss: Implementing a Stack in Java

Advertisement

Comments

very very very good source code t
very very very good source code t 

Error in thsi core
stack.push(n) in this we should pass the object but here we are using primitive..then i am trying to use got compile time error str = br.readLine(); n=Integer.parseInt(str); stack.push(n); this is not correct.......... str = br 

Java Learning
Hi Guys, I am Paramjit from india. I want learn Java Programming. I am having very godd logic understanding, and devlopment experience in Visual Basic Programming. But I want to switch to Java Programming. Can you help me to start  

THANK YOU
Thanks for this program code. It help me a lot on my assignment!!!! THANKS FOR ROSEINDIA!!! 

java
u have very build up knowlage good luck.......... 

request
plese show me a complete programe of stack in java implementation 

why?
y is dat der is an error in d program dat i dowload???it shold b corek bec i copy alredy d hol program 2 c wat is d output and b my basis in making my program.,wat can i say is dat u shold pos ah program w/c do not have an error,,jejejeje 

professor comment
this is very much usefull for IT programmers 

string of stacks
i just wanna know how to implement a string of stack 'coz i don't know how.... i just want to add a record as string then it will add as an entry to the stack and delete each entry string...thanks 

stacks
i want to knoe what codes should i use to create stack 

JAVA
add some more example programs 

Related Tutorial and Articles
Java Beginners

Very new to Java
Very new to Java   hi I am pretty new to java and am wanting to create a programe for the rhyme 10 green bottles. 10 green bottles standing on the wall 10 green bottles standing on the wall and if 1 green bottle should 

Java Server Faces Questions

very urgent - Java Server Faces Questions
very urgent  Hi sir, yesterday i send total my code to find where i... the tags form my code,i removed those tags and i excuted that. Still the desired... check it once and give me a correct solution. It is very urgent for me. Thanks 

Java Server Faces Questions

very urgent - Java Server Faces Questions
very urgent  Hi sir, see my code and please tell me mistake. it is very urgent for me. here is my code: addmin.jsp: Users... deepak@roseindia.net 8888 deepak kumar It is very urgent for me please give 

Java Server Faces Questions

 (very urgent) - Java Server Faces Questions
 (very urgent)  hi friends, This is my code in JSF            ...; In the above code is there any way i can replace all those " " with a single sign 

Java Beginners

plz help -java project very urgent
plz help -java project very urgent  ? Ford furniture is a local... person will get 60% of the value above half price. For example, if a luxury bed.... For example, if a dining set is priced at 3000, and was sold at 30% discount, the sales 

Java Beginners

Java programming tutorial for very beginners
Java programming tutorial for very beginners  Hi, After completing my 12th Standard in India I would like to learn Java programming language. Is there any Java programming tutorial for very beginners? Thanks   Hi 

Java-Tutorials

Java Util Examples List
examples that demonstrate the syntax and example code of java util package... a jar file through the java source code by using the jar tool command... Java Util Examples List - Util Tutorials    

JDBC Questions

Please help me... its very urgent
Please help me... its very urgent  Please send me a java code to check whether INNODB is installed in mysql... If it is there, then we need to calculate the number of disks used by mysql 

General

Very simple `Hello world' java program that prints HelloWorld
step. This short example shows how to write first java application and compile... HelloWorld.java - the source code for the "Hello, world!" program... the source code. When you compile the program you'll create a byte-code file named 

Java Beginners

Very Big Problem - Java Beginners
Very Big Problem  Write a 'for' loop to input the current meter reading and the previous meter reading and calculate the electic bill with the following conditions(all must be fulfilled in one class only): (i)if unit(current