Walkins Openings in India & Interview Questions

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


‘Java Interview Questions’ - KyaPoocha.com

How does multithreading take place on a computer with a single CPU? 

The operating system’s task scheduler allocates execution time to multiple tasks. By quickly switching between executing tasks, it creates the impression that... Read more »

When does the compiler supply a default constructor for a class? 

The compiler supplies a default constructor for a class if no other constructors are provided.  Read more »

When is the finally clause of a try-catch-finally statement executed? 

The finally clause of the try-catch-finally statement is always executed unless the thread of execution terminates or an exception occurs within the execution of... Read more »

Which class is the immediate superclass of the Container class? 

Component  Read more »

If a method is declared as protected, where may the method be accessed? 

A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.  Read more »

How can the Checkbox class be used to create a radio button? 

By associating Checkbox objects with a CheckboxGroup.  Read more »

Which non-Unicode letter characters may be used as the first character of an identifier? 

The non-Unicode letter characters $ and _ may appear as the first character of an identifier  Read more »

What restrictions are placed on method overloading? 

Two methods may not have the same name and argument list but different return types.  Read more »

What happens when you invoke a thread’s interrupt method while it is sleeping or waiting? 

When a task’s interrupt() method is executed, the task enters the ready state. The next time the task enters the running state, an InterruptedException is thrown.  Read more »

What is the return type of a program’s main() method? 

A program’s main() method has a void return type.  Read more »

What is the difference between a Choice and a List? 

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

What class of exceptions are generated by the Java run-time system? 

The Java runtime system generates RuntimeException and Error exceptions.  Read more »

What class allows you to read objects directly from a stream? 

The ObjectInputStream class supports the reading of objects from input streams.  Read more »

What is the difference between a field variable and a local variable? 

A field variable is a variable that is declared as a member of a class. A local variable is a variable that is declared local to a method.  Read more »

Under what conditions is an object’s finalize() method invoked by the garbage collector? 

The garbage collector invokes an object’s finalize() method when it detects that the object has become unreachable.  Read more »

How are this () and super () used with constructors? 

this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.  Read more »

What is the relationship between a method’s throws clause and the exceptions that can be thrown during the method’s execution? 

A method’s throws clause must declare any checked exceptions that are not caught within the body of the method.  Read more »

What is the difference between the JDK 1.02 event model and the event-delegation model introduced with JDK 1.1? 

The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components are required to handle their own events. If they do not handle... Read more »

How is it possible for two String objects with identical values not to be equal under the == operator? 

The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located... Read more »

Why are the methods of the Math class static? 

So they can be invoked as if they are a mathematical code library.  Read more »

Page 21 of 22« First...«1819202122»
  • Subscribe

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


  • Walkins by Location


  • Walkins by Skills