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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 166
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: 3947
    
  17

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


Steve
Tarun Oohri
Ranch Hand

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