Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » I need another help in Java
Closed Thread
Old 03-17-2008, 08:28 AM   #1 (permalink)
 
Banned

Join Date: Aug 2005

Posts: 3,480

maroon1 is on a distinguished road

Default I need another help in Java

Can someone tell me how to input an integer and make it display as 6 digit number ?

For example if ID = 4, it should display as 000004

Also, I have another question. I want to write a function that check if the the string representing the Email of a person is a valid format or not. It should check if the Email have an @ and a dot. Can someone tell me how ?

Thanks in advance.
maroon1 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java / Adobe Question Tempest Browser & General Internet Questions 3 11-07-2007 05:53 PM
Dangerous Java Flaw Threatens Virtually Everything Osiris Virus - Spyware Protection / Detection 1 07-13-2007 04:44 PM
hacking online java program. Z e i g Browser & General Internet Questions 8 06-23-2007 01:50 AM
Java import statement dingdong-man Programming Discussions 6 06-22-2007 12:16 PM
Java Game Yek Programming Discussions 5 06-16-2007 04:29 AM