aspose file tools*
The moose likes Beginning Java and the fly likes char as parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "char as parameter" Watch "char as parameter" New topic
Author

char as parameter

Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 180
Hi Everybody
I don't know what should be pass in a method which takes char as an argument .What should i put in the place of "?" in the code below . Thanks!!
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

chars use single quoted text characters, like 'a' 'b' 'c'.


Steve
Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 180
Steve Luke wrote:chars use single quoted text characters, like 'a' 'b' 'c'.

O Thanks a ton Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: char as parameter