• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

To what extent shall we know Java API

 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anthony
I have one question on the topic mentioned above
Which Java API shall we know by heart?
There was a case that in interview question interviewers stared grilling me on Thread and java.io API asking what are new things in Java 1.6
I was out of touch of latest in Java API and didn't do good
 
Marshal
Posts: 70234
282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System.out.println.
Object#equals
Object#hashCode
List#add

Do you need to know any more off by heart?
 
Ranch Hand
Posts: 479
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Collections and the appropriate use of various Collection types.
 
Author
Posts: 22
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gaurav,

There are certain APIs that are always good to know. I would recommend studying:

1) Every method in the Object class
2) The different types of collections in the Java Collections Framework
3) The JDBC APIs
4) The Servlet APIs
5) Concurrency APIs (Both standard APIs like Thread and Runnable, and the newer Executor Framework)
6) The Reflection classes

File I/O is of course useful as well, but the new NIO features are a little more niche. I think you might benefit from a website that lists all of the new features that were released from 1.6 on and just read a little bit about each topic so you won't be caught off guard in future interviews. Even if you don't know them in detail, it will help to show that you are familiar with them.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic