Java - Boolean

'Execution Process, Entry Point, Input and Output' tutorial was cited in a Xtreme Visual Basic Talk article in 2004.

The Execution Process, Entry Point, Input and Output tutorial was cited in a Xtreme Visual Basic Talk article in 2004. Note that my Geocities site has been moved to herongyang.com now.

Subject: java - boolean
Date: Feb 17, 2004
Author:  hedgehog24
Source: http://www.xtremevbtalk.com/showthread.php?p=653811

>ive made a program so far, however when you select a member in the
>search i wanted it to prompt, "is this the correct member (y/n)" the
>problem is i dont know how to code it in java, ive looked through the
>forum and seen no example of y/n or true false from what i could find.
>
>could some1 give me an example. ?
...

I think mrjeffy's solution will work. However the optionpane dialog
will show up as a Window Dialog and your program execution probably
won't now automatically terminate at the end of your main() function.

To read input from the consol I think you are meant to use System.in
and read console input exactly like file i/o. I'm sure there is a i/o
tutorial on sun's java site but this page:
http://www.geocities.com/herong_yang...execution.html
might contain information for what you want to do.

Alternatively you could use this class TextIO.java to keep things
simple.

Table of Contents

 About This Book

 Reference Citations in 2023

 Reference Citations in 2022

 Reference Citations in 2021

 Reference Citations in 2020

 Reference Citations in 2019

 Reference Citations in 2018

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

Reference Citations in 2004

 HelloWeb Quick Start Guide

 Float vs Double

 J2SE Unicode 转化为 GB2312

 Cookies Don't Persist

 tomcat problem

 Jakarta Taglibs, JSTL Problem

 Dovecot SSL Warning (Not Error)

 Cipher, byte[]s and Strings; oh my!

 BodyTagSupport and JSP body-content

 Codifica Base64

 Java: Catching Stack Overflow

 Invoking Remote Webservices from a Perl Client

 IP Protection and Encryption Donation

 Validate XML Documents in Java

Java - Boolean

 GB2312 and Unicode Mapping Table

 CST 365/465 - Web Programming I

 Reference Citations in 2003