Walkins Openings in India & Interview Questions

Walkins in Mumbai, Bangalore, Chennai, Delhi, Gurgaon, Pune


‘Java Interview Questions’ - KyaPoocha.com

Can an anonymous class be declared as implementing an interface and extending a class? 

An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.  Read more »

What is the purpose of finalization? 

The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.  Read more »

What is the purpose of the Runtime class? 

The purpose of the Runtime class is to provide access to the Java runtime system.  Read more »

What is the Locale class? 

The Locale class is used to tailor program output to the conventions of a particular geographic, political, or cultural region.  Read more »

What is the difference between a break statement and a continue statement? 

A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop... Read more »

What must a class do to implement an interface? 

It must provide all of the methods in the interface and identify the interface in its implements clause.  Read more »

What is the advantage of the event-delegation model over the earlier event-inheritance model? 

The event-delegation model has two advantages over the event-inheritance model. First, it enables event handling to be handled by objects other than the ones that... Read more »

What is the purpose of the wait(), notify(), and notifyAll() methods? 

The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object’s... Read more »

How are Java source code files named? 

A Java source code file takes the name of a public class or interface that is defined within the file. A source code file may contain at most one public class or... Read more »

What is an object’s lock and which object’s have locks? 

An object’s lock is a mechanism that is used by multiple threads to obtain synchronized access to the object. A thread may execute a synchronized method of an... Read more »

What is the % operator? 

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.  Read more »

What is casting? 

There are two types of casting, casting between primitive numeric types and casting between object references. Casting between numeric types is used to convert larger... Read more »

What restrictions are placed on method overriding? 

Overridden methods must have the same name, argument list, and return type. The overriding method may not limit the access of the method it overrides. The overriding... Read more »

What happens if an exception is not caught? 

An uncaught exception results in the uncaughtException() method of the thread’s ThreadGroup being invoked, which eventually results in the termination of the program... Read more »

What are three ways in which a thread can enter the waiting state? 

A thread can enter the waiting state by invoking its sleep() method, by blocking on I/O, by unsuccessfully attempting to acquire an object’s lock, or by invoking... Read more »

What is numeric promotion? 

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical... Read more »

What is the difference between the prefix and postfix forms of the ++ operator? 

The prefix form performs the increment operation and returns the value of  the increment operation. The postfix form returns the current value all of the expression... Read more »

What is a Java package and how is it used? 

A Java package is a naming context for classes and interfaces. A package is used to create a separate name space for groups of classes and interfaces. Packages are... Read more »

What is the difference between choice and list? 

A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices and only one item may be selected from a choice.A... Read more »

What is meant by controls and what are different types of controls in AWT? 

Controls are components that allow a user to interact with your application and the AWT supports the following types of controls:Labels, Push Buttons, Check Boxes,... Read more »

Page 5 of 22« First...«34567»...Last »
  • Subscribe

      Get Latest Walkins in your INBOX, enter your email address:


  • Walkins by Location


  • Walkins by Skills