Walkins Openings in India & Interview Questions

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


‘Java Interview Questions’ - KyaPoocha.com

What is the difference between a static and a non-static inner class? 

A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object... Read more »

What is the difference between the String and StringBuffer classes? 

String objects are constants. StringBuffer objects are not.  Read more »

If a variable is declared as private, where may the variable be accessed? 

A private variable may only be accessed within the class in which it is declared.  Read more »

What is an object’s lock and which objects 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 »

How are the elements of a BorderLayout organized? 

The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.  Read more »

Can an object be garbage collected while it is still reachable? 

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected.  Read more »

Is the ternary operator written x : y ? z or x ? y : z ? 

It is written x ? y : z.  Read more »

What is the difference between the Font and FontMetrics classes? 

The FontMetrics class is used to define implementation-specific properties, such as ascent and descent, of a Font object.  Read more »

How is rounding performed under integer division? 

The fractional part of the result is truncated. This is known as rounding toward zero.  Read more »

What happens when a thread cannot acquire a lock on an object? 

If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object’s lock, it enters the waiting state until the... Read more »

What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy? 

The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented.  Read more »

What classes of exceptions may be caught by a catch clause? 

A catch clause can catch any exception that may be assigned to the Throwable type. This includes the Error and Exception types.  Read more »

If a class is declared without any access modifiers, where may the class be accessed? 

A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces... Read more »

What is the SimpleTimeZone class? 

The SimpleTimeZone class provides support for a Gregorian calendar.  Read more »

What is the Map interface? 

The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with values.99.  Read more »

Does a class inherit the constructors of its superclass? 

A class does not inherit constructors from any of its super classes.  Read more »

For which statements does it make sense to use a label? 

The only statements for which it makes sense to use a label are those statements that can enclose a break or continue statement.  Read more »

What is the purpose of the System class? 

The purpose of the System class is to provide access to system resources.  Read more »

Which TextComponent method is used to set a TextComponent to the read-only state? 

setEditable()  Read more »

How are the elements of a CardLayout organized? 

The elements of a CardLayout are stacked, one on top of the other, like a deck of cards.  Read more »

Page 19 of 22« First...«1718192021»...Last »
  • Subscribe

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


  • Walkins by Location


  • Walkins by Skills