Advertisements

Aatul Palandurkar

Archive for June 2015

Recently I had a chance to visit Hyderabad again for Java Blogger Meet organized by Oracle, India on the occasion of very auspicious as Java turns 20. First of all I would like to thanks Oracle for all expenses paid trip including flight tickets to meal and cab fare too.

There were many rumours when Oracle acquired Sun Microsystems like Oracle will not looks after Java and Java will lose its importance and all but Oracle has always tried to groom Java and Java Community. Oracle always trying and helping people to get acquainted with Java. Oracle has planned a major release for Java every 2 years that means if Java 8 was launched in the year 2014 then Java 9 will be there in market by the year 2016. Many features are added to Java till now and many will come up in future.

In the journey of 20 years Java has grown from Oak to Java 8 and still counting. Java is programming language of future but now we can say that it has grown like Oak tree and will last for minimum 200 years more. I am using Java from Java 1.4.2. As Java turns 20 we celebrated the auspicious occasion and cut the cake, which was very well designed.

Java Bloggers Meet (7)

It was a very nice event overall wherein we get a chance to meet and hear many high profile people and community members like Sanket Atal (Group Vice President, Research and Development, Oracle), Shreekanth Narayanan (Director, Development Java Platform Group, Oracle), Vandana Shenoy (Director, Corporate Communications, Oracle) and Harshad Oak is after a long time. Harshad Oak is only Java Champion in India and his last name is similar to first release of Java and the coincidence he is the first Java Champion from India. We also got a chance to meet Bot-so which is a small robot who interacts with user via social network like Twitter developed by Debraj Dutta and team from Edifixio.

Java Blogger Meet, Oracle IDC, Hyderabad

Java Blogger Meet, Oracle IDC, Hyderabad

The main thing I have understood after the meet that Oracle is committed to Java from depth of heart so as Java community and Oracle is ready to help Java community in various ways. Java will remain number 1 programming language for centuries and my great great grand children may also be working on Java 1000 for spaceships or something like that. I will be there with Java and Java Community and will help them in all possible ways specially students, freshers and professionals.

If one face any difficulty in Java from any part of the globe, please feel free to contact me and will love to help you out and if something is there which I may not be answer Java Community and Oracle is also with us to answer all your queries. So if you are looking for a secured career be a Java geek and have a great future.

Advertisements

Objectives:

  • What is HashMap?
  • What is HashMap in Java?
  • What is HashTable?
  • What is HashTable in Java?
  • What are the differences between HashMap and HashTable?
  • What are the differences between HashMap and HashTable in Java?

HashMap vs HashTable

1. HashMap is non-synchronized. HashTable is synchronized.

2. HashMap is not thread safe. HashTable is thread safe.

3. HashMap allows one null key and any number of null values while HashTable do not allow null keys and null values in HashTable Object.

4. HashMap object values are iterated using iterator. HashTable is only class other than Vector class which uses enumerator to iterate values of HashTable object.

5. The iterator in HashMap is fail-fast iterator while enumerator for HashTable is not.

6. HashMap is much faster and uses less memory than HashTable.

7. HashMap is subclass of AbstractMap class. HashTable is subclass of Dictionary class which is obsolete in 1.7 and not in use anymore.


Advertisements

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 8,304 other followers

Tweets

%d bloggers like this: