Main menu:

Email Alerts
Subscribe Now !!!

Receive FREE Email Alerts On Interview Questions

Subscribe

Enter your email address:

Categories

Archive for 'Java'

Agile Java Questions

java:
(1)find out three keywords
(a)synchronized
(b)implement
(c)throws

Java Web development interview questions

Following are some Java Web development interview questions:

Java/J2EE Interview Questions

The Following are Java/J2EE Interview Questions

Interview questions on EJB

1. How EJB Invocation happens? - Retrieve Home Object reference from Naming Service via JNDI. Return Home Object reference to the client. Create me a new EJB Object through Home Object interface. Create EJB Object from the Ejb Object. Return EJB Object reference to the client. Invoke business method using EJB Object [...]

Huge List of Java Interview Questions

What is the difference between procedural and object-oriented programs?- a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code. b) In procedural program, data is exposed to the whole program whereas [...]

Java questions for Newbies

1. If Runnable interface is better than Thread class, than why we are using Thread class? What is the need for Thread class?
2. Why we are calling System.gc() method to garbage collection of unused object, if garbage collection is automatically done in Java by daemon thread in background process [...]

Java Interview questions

1. How could Java classes direct program messages to the system console, but error messages, say to a file?
The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they [...]