There is a lot of cool stuff that has been added in the jdk 1.6.This includes the console applications you can create an object to the console class and can do console related stuff.....This object is only help full when you are basically using a command prompt for running a java program.....in case of eclipse the console object has got nothing to do..and also for a particular command prompt there will be only one console object that's created,this console object lets you do operations as reading a user name and a password from the console by not allowing the user to see the password typed which can be done by using readPassword() method which returns the character array.This was one of the applications that was supported by C but not by java...like wise there are lot of new features been added in this version...you can find new stuff even in the collection API....several new methods have been added to make the things much more easier for the user....this includes the methods added in the list stream(and in fact almost all such as map,set and queues) of the collection API...
Ajay :)
No comments:
Post a Comment