Comment on Tutorial - Stack example in Java - push(), pop(), empty(), search() By Henry
Comment Added by : susmit
Comment Added at : 2011-03-02 09:09:46
Comment on Tutorial : Stack example in Java - push(), pop(), empty(), search() By Henry
for user input use this method....
1. import java.io.*;
2.for input:
InputStreamReader ob1 =new InputStreamReader(System.in);
BufferedReader ob2=new BufferedReader(ob1);
System.out.println("Enter no:");
int i=Integer.parseInt(ob2.readLine());
System.out.println("input string:"+i);
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. The following exception are raised in send sms in
View Tutorial By: Vikram Subbiah at 2010-04-12 02:09:36
2. Tnx. Very fast learning i think.
Just make
View Tutorial By: mahdi at 2011-07-09 20:20:39
3. hi friends i hav project work in this topic so pls
View Tutorial By: sullan at 2011-05-08 12:08:56
4. Thank uvery much :) u r so helpful
View Tutorial By: Ahmed at 2011-12-04 10:01:11
5. Suppose we are executing a try block and faced an
View Tutorial By: Suindu De at 2015-10-08 10:56:56
6. please explain thread t=new thread(this,name). Wha
View Tutorial By: Bhavin at 2012-09-28 12:26:55
7. Pastoral College is a small college in the Midwest
View Tutorial By: James Chui at 2015-08-03 00:48:50
8. What is AWS?
View Tutorial By: Toja at 2013-01-22 10:36:45
9. Thank you
View Tutorial By: vbulletincoder at 2011-09-13 13:16:40
10. sir i want to knw abt all simple java programs pls
View Tutorial By: sakthi at 2011-08-29 14:06:10