Java 5 has come up with many changes. I Went for A KSS today. Java 5, this is the new way of calling the new java releases now, earlier we used to call it java 1.2 & java 1.4 etc.
The language has come up with many good changes; Most of the Changes which i could understand were fabulous.
Some of the Changes in Java 5 are:-
1. Boxing & UnBoxing
eg..
Integer iobj = 10;
int i = iobj;
2. Enhanced For Loops
eg..
for(int i=0;i < nums.length;i++)
out.println(nums[i]);
for(int i : nums )
out.println(nums[i]);
3. Enumerations: enum
4. Static Import: Think about using random instead of Math.random();
5. Varargs : Variable length Arguments
6. Formatted IO : Functions like printf()added.
7. Generics: Something related of template in C++. Generic Classes & Methods..
8. MetaData : It is more advanced than javadoc, better support for Implementation Team
9. N/w & security: some new Classes for SSL support
10. Changes in JVM, related to Thread, about different states of Thread.
Well there are many changes these are few to name…
I am a polyglot programmer, who loves to design & architect solutions and have an opinion on technology. This blog is my space where I share my ideas on technology. They are my ramblings on Tech space in Java & JVM based Languages
Subscribe to:
Post Comments (Atom)
Java 10 Features
My blog post in JournalDev for Java 10 Features
-
My blog post in JournalDev for Optional (a Value-Based Class)
-
Here I Come with the Java Code Which can Be used to mail other persons.. Earlier i had written about Oracle Procedure which can send mails. ...
-
My blog post in JournalDev for Programming to Interfaces using static methods in Java Interfaces
No comments:
Post a Comment