• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Boolean Class Method?

 
Kalona Ark
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please explain or provide links so I can understand how to construct a boolean class method?
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this example is in Java EE 5.0,
the boolean is "auto boxed" into a Boolean by the compiler
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12101
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kalona Ark
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic