I have a situation where I will get a String and need to check whether that String holds a number or a String and need to store it in another variable.
For example my input value may have "00002888" or "W-23HSG". The first String has number, so I can parse it to 2888 using Integer.parseInt("00002888"). What can I do for the other case?
I need to write like this:
I am getting number format exception. I know why it throws that exception. But, what should I do to overcome this exception?
eBook is the best option when we learn programming languages or any other tutorials regarding Computers. For all other cases, Paper-book is the best thing. This is just my opinion and this is what I do. Yes, storing and preserving them is a tough task, but still I like that smell of old books, so its worth of my effort to store them.
If you see the election campaign in India, you will not believe recession has hit India. Billions of money (ofcourse black money) will be plunged into each and every constituency. There is also a tradition called "Cash for votes"