wood burning stoves 2.0*
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
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: 172
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: 4167
    
  21

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


Steve
Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 172
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
 
Similar Threads
Sorting objects using treeMap
how to find all possible combinations of charcters in string
ByteArrayInputStream problem
comparing using arrays in java
Which one is the main calling?