Results 1 to 3 of 3
  1. #1
    CaptainBlood is offline Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    0

    Question What is the Java library method that takes String parameter and returns a Boolean?

    For example method c = abc.charAt(i); takes an int parameter and returns a char value, but what is the Java library method that takes String parameter and returns a Boolean?
    Last edited by CaptainBlood; 10-15-2010 at 05:35 AM.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  3. #3
    CaptainBlood is offline Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    equals or equalsIgnoreCase can work here
    Thanks, I really appreciate it.

Similar Threads

  1. String file and carriage returns
    By AJArmstron@aol.com in forum New To Java
    Replies: 2
    Last Post: 04-17-2010, 02:28 AM
  2. Boolean method help
    By syferite in forum New To Java
    Replies: 6
    Last Post: 10-28-2009, 02:32 PM
  3. Replies: 3
    Last Post: 08-20-2009, 04:57 PM
  4. Can a method take itself as parameter?
    By bukake in forum New To Java
    Replies: 10
    Last Post: 09-06-2008, 10:26 PM
  5. boolean to string
    By otoro_java in forum New To Java
    Replies: 2
    Last Post: 01-30-2008, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •