Tuesday, February 17, 2009

Basic java interview questions and topics.

While facing any interview we generally got panicked. This state come because we dont know what to study and what not study. Java in itself is vry vast topics. And it is difficult for anyone to cover each technology with Java.

So my advice is to solidify few things. By the Core java is must. For Studying core java. When pointer come to book, let me tell you i am big fan of Cathy.

If you are new learner then head first java is kewl. What you need to do is simply follow that. Beside i suggests you to give SCJP. It is not too easy but not too tough . Again if you follow Cathy scwcd book , you will score the descent marks. I too got 91% ( :-) thanks cathy).

Let me come to point. The topics , question imp for core java are:

1) What is enum? its use and syntax? Can we define enum as class? if yes how?
2) What is static variable ? what its concept ?
3) Abstarct class and inheritenc?
4) Differnece between an abstract class and interface ? Why interface if we have abstract class (interviewer gotcha here. They want to prove their smartness here.)
5) Can we have class with abstract and final modifier?
6) What is protected and default modifiers?
7) Generics concept?
8) File IO? You must write a code to practice it?
9) Serialization and its concept? transcient variables and static variable ? how it effects serialization?
10) Inheritence and encapsualtion?
11) Then the big pictures of exception handling, garbage collection?
12) Inner classes and their implications on others?
13) Collections(List, Map, set,) collections, array, comparable and comparator class.
14) Threads(worst topics)



Then they will ask you :
1) singleton class
2) factories and its need

JDBC
1) What is the flow? How class is register ? use of for etc? diference between statement and parameteised statement(prepared query)?

Hey i am getting late for home, problably i can edit this next time and try to add some good topics/ questions also?

Wednesday, February 4, 2009

Myself

Hi, i am anand jha a punekar.