| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi Friends, I am beginner in java. what i know about
synchonized keyword is,If more that one 1 thread tries to
access a particular resource we can lock the method using
synchronized keyword. Then after that how the lock is
released and how next thread access that.Please explain with
example. | | 1 |
| I have one POJO class(Java bean class), it has two
variables for that it has setters and getters. Now i have
created two objects for that class and i have set the data
for those variables through this two objects. Now question
is i want check whether those two objects have same data or
not, for this write a program? Thanks, Bose. | Oracle | 2 |
| When finally clause is executed? | | 3 |
| when to use abstract class and when to use interface? | IonIdea | 5 |
| Why are the methods of the Math class are static? | | 1 |
| In Java why we write public static void main(String args[])
why not main()? | TCS | 12 |
| What are inner and anonymous class? | | 2 |
| What is a serializable interface? | | 3 |
| what is difference between perfom() & excute() ? | IBM | 2 |
| Sample code to retrieve objects from HashMap in sorted
ascending order? | | 1 |
| When we can access the static data member without creating
the object what is the need of the object in java.
| ssinformatics | 4 |
| Hi Friends, I am new to java. Can u explain about thread
concept.How i know one thread is locked, and how can i force
or acquire another thread for lock . Finally how to know
thread is released from lock. Explain types of lock(like
method level and block level) in thread. | | 1 |
| what is request processor? | Virtusa | 1 |
| Explain about Superclass and Subclass? | | 4 |
| when a servlet sends request for first time it uses the
follwing methods
a)init
b)doget()
c)dopost()
d)service | Accenture | 2 |
| What is clipping? | | 2 |
| how to use this key word in java programming? | | 5 |
| What modifiers are used with an inner class which is a
member of an outerclass? | | 1 |
| What is stop(), suspend(), resume() method? | | 3 |
| what is custom tags with example? | AMDOC | 1 |
| |
| For more Core Java Interview Questions Click Here |