Using the New java.io.Console Class

The 1.6 release of the JDK included a new java.io.Console class, which adds some new features to enhance and simplify command-line applications. Notably, Console includes a method specifically for reading passwords that disables console echo and returns a char array; both important for security. Scenario: Getting Username and Password Getting a user's username and password [...]
http://www.stupidjavatricks.com/?p=43



[By Rss to Blog (Computer Tech)
Click Here
http://sbwasim.co.cc
Contact Me :wasimakhtar@sbwasim.co.cc]
[if you want to earn by Home just call Toll free No.02653090621 and give my userid DS630156 just try it its totaly free.]
[Recharge Mobile Online http://paytm.com/refer/sbwasim]
[Recharge Mobile Online http://paytm.com/refer/sbsamiksha]
[Want to earn by sending sms then go to http://ultoo.in/login.php?refererCode=12403E&flag=hide]
[If you want to advertise here contact me at wasim.akh2@gmail.com]

No comments:

Post a Comment

If you have any question please let me know

Windows 11 Insider Preview Build 29558.1000 Released to New Canary Channel

UPDATE: Windows 11 Insider Preview build 29558.1000 released to the new Canary channel. Windows Insiders on the refreshed Canary Channel wil...