| Author |
Boolean Class Method?
|
Kalona Ark
Greenhorn
Joined: Oct 31, 2007
Posts: 20
|
|
|
Can someone please explain or provide links so I can understand how to construct a boolean class method?
|
 |
Bill Shirley
Ranch Hand
Joined: Nov 08, 2007
Posts: 457
|
|
this example is in Java EE 5.0, the boolean is "auto boxed" into a Boolean by the compiler
|
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9952
|
|
I don't understand the question. do you want to make a Boolean (i.e. call it's constructor)? Or are you trying to make a new method in the Boolean class? or are you trying to extend the Boolean class to make your own method? I'd start with the api, although I don't know which version you are using.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Kalona Ark
Greenhorn
Joined: Oct 31, 2007
Posts: 20
|
|
Thanks for the info, Bill. Fred,
"Boolean class method which takes one character of a line as a parameter."
That is what my Instructor wanted, but I did not understand the concept of a boolean class method. [ November 20, 2007: Message edited by: Kalona Ark ]
|
 |
 |
|
|
subject: Boolean Class Method?
|
|
|