File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 175
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: 175
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