Results 1 to 2 of 2
  1. #1
    mansooraltaf is offline Member
    Join Date
    Feb 2012
    Rep Power

    Default plz solve the problem


    i want to convert

    char a='1';

    int to int. type.

    e.g int x=a;......

    like e.g i could assing a to int. in java.

    i dont want to use any builtin java function.


  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: plz solve the problem

    Read the API documentation for the Character class; it has a method that can do the job.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. Solve JVM Problem
    By pedroffbarbosa in forum Advanced Java
    Replies: 8
    Last Post: 11-29-2011, 12:35 AM
  2. Problem that I can't solve...
    By Wing.Sham in forum New To Java
    Replies: 9
    Last Post: 11-16-2011, 02:31 AM
  3. Could someone help me to solve this problem...
    By Vinny in forum Java Software
    Replies: 1
    Last Post: 07-08-2009, 06:59 PM
  4. Solve my Problem
    By kyo in forum New To Java
    Replies: 1
    Last Post: 12-16-2008, 03:22 PM
  5. Help me to solve problem
    By mansoorhacker in forum New To Java
    Replies: 3
    Last Post: 11-13-2008, 09:15 AM

Tags for this Thread

Posting Permissions

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