wood burning stoves 2.0
The moose likes Beginning Java and the fly likes how to get a char to use .toUpperCase? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to get a char to use .toUpperCase?" Watch "how to get a char to use .toUpperCase?" New topic

how to get a char to use .toUpperCase?

N Kol

Joined: Sep 29, 2010
Posts: 9
Need some help here folks,

"This parameter must be accepted in upper or lower case"

the problem is the declaration is char packageType

Kurt Van Etten
Ranch Hand

Joined: Sep 07, 2010
Posts: 98

The Character class has static .toUpperCase() and .toLowerCase() methods that you could use for this purpose.
Baichuan Huang

Joined: Oct 04, 2010
Posts: 19

this can help you, thanks!
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Also asked and answered here

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link: http://aspose.com/file-tools
subject: how to get a char to use .toUpperCase?
It's not a secret anymore!