This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Passing String to Character IS-A Methods
Joined: Apr 16, 2004
Jul 09, 2008 09:31:00
Is there are better way than this ?
aLetter = "A" ;
char  charArray = new char ;
charArray = aLetter.toCharArray() ;
boolean b = Character.isLetter(charArray) ;
Joined: Oct 14, 2005
Jul 09, 2008 09:45:00
Using the "charAt(int)" method of String would reduce the number of lines of code in that example.
subject: Passing String to Character IS-A Methods
Read operation failed from Socket.
how do you convert CHAR TO STRING
How to read the complete contents of a file in a String?!
different question relating to the recursion
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014