Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you check if a character in a string is a digit or letter?



How do you check if a character in a string is a digit or letter?..

Answer / Rohit Rathi

To check if a character in a string is a digit, use `Character.isDigit(char c)`. To check if it's a letter, use `Character.isAlphabetic(char c)`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is byte code and why is it important to java’s use for internet programming?

1 Answers  


What are "methods" and "fields"?

1 Answers   Wipro,


Is void a data type in java?

1 Answers  


Why does it take so much time to access an applet having swing components the first time?

1 Answers  


What is regex in java?

1 Answers  


What is native method in java?

1 Answers  


How is the marker interface used in Java?

1 Answers   BirlaSoft,


What is java util hashmap?

1 Answers  


how to handle a singleton service locator. when multiple threads are trying to get the singleton object in same time

4 Answers   Mind Tree,


Write a function to find out longest palindrome in a given string?

1 Answers  


What is the use of bin and lib in JDK?

8 Answers   TCS,


What is equlas() and hashcode() contract in java? Where does it used?

1 Answers  


Categories