<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   Sort: Rank

What's the difference between a queue and a stack?
What's the difference between a queue and a stack? Stacks works by last-in-first-out rule (LIFO), while queues use the FIFO rule
2013-04-12, 2029👍, 0💬

Which Container method is used to cause a container to be laid out and redisplayed?
Which Container method is used to cause a container to be laid out and redisplayed? validate()
2013-04-12, 2109👍, 0💬

Which class is the superclass for every class.
Which class is the superclass for every class. Object.
2013-04-11, 2003👍, 0💬

Is sizeof a keyword?
Is sizeof a keyword? The sizeof operator is not a keyword in Java.
2013-04-11, 1994👍, 0💬

What is the List interface?
What is the List interface? The List interface provides support for ordered collections of objects.
2013-04-10, 2102👍, 0💬

What is the Collections API?
What is the Collections API? The Collections API is a set of classes and interfaces that support operations on collections of objects.
2013-04-10, 2013👍, 0💬

What state does a thread enter when it terminates its processing?
What state does a thread enter when it terminates its processing? When a thread terminates its processing, it enters the dead state.
2013-04-09, 2013👍, 0💬

Which containers use a FlowLayout as their default layout?
Which containers use a FlowLayout as their default layout? The Panel and Applet classes use the FlowLayout as their default layout.
2013-04-09, 2047👍, 0💬

What method is used to specify a container's layout?
What method is used to specify a container's layout? The setLayout() method is used to specify a container's layout.
2013-04-08, 3826👍, 0💬

Do not use the String contatenation operator in lengthy loops or other places where performance could suffer. Is that true?
Do not use the String contatenation operator in lengthy loops or other places where performance could suffer. Is that true? Yes.
2013-04-08, 1972👍, 0💬

Can Java code be compiled to machine dependent executable file?
Can Java code be compiled to machine dependent executable file? Yes. There are many tools out there. If you did so, the generated exe file would be run in the specific platform, not cross-platform.
2013-04-06, 1997👍, 0💬

What is meant by "Abstract Interface"?
What is meant by "Abstract Interface"? First, an interface is abstract. That means you cannot have any implementation in an interface. All the methods declared in an interface are abstract methods or signatures of the methods.
2013-04-06, 1928👍, 0💬

What is tunnelling?
What is tunnelling? Tunnelling is a route to somewhere. For example, RMI tunnelling is a way to make RMI application get through firewall. In CS world, tunnelling means a way to transfer data.
2013-04-05, 2011👍, 0💬

What is the difference between a Scrollbar and a ScrollPane?
What is the difference between a Scrollbar and a ScrollPane? A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling.
2013-04-05, 2054👍, 0💬

What is the List interface?
What is the List interface? The List interface provides support for ordered collections of objects.
2013-04-02, 1960👍, 0💬

Name Container classes
Name Container classes Window, Frame, Dialog, FileDialog, Panel, Applet, or ScrollPane
2013-04-02, 2054👍, 0💬

What restrictions are placed on method overloading?
What restrictions are placed on method overloading? Two methods may not have the same name and argument list but different return types.
2013-04-01, 1975👍, 0💬

How to make a class or a bean serializable?
How to make a class or a bean serializable? By implementing either the java.io.Serializable interface, or the java.io.Externalizable interface. As long as one class in a class's inheritance hierarchy implements Serializable or Externalizable, that class is serializable.
2013-04-01, 1954👍, 0💬

What is transient variable?
What is transient variable? Transient variable can't be serialize. For example if a variable is declared as transient in a Serializable class and the class is written to an ObjectStream, the value of the variable can't be written to the stream instead when the class is retrieved from the ObjectStrea...
2013-03-29, 2011👍, 0💬

What is a platform?
What is a platform? A platform is the hardware or software environment in which a program runs. Most platforms can be described as a combination of the operating system and hardware, like Windows 2000 and XP, Linux, Solaris, and MacOS.
2013-03-29, 2009👍, 0💬

How do you enable the concurrent garbage collector on Sun's JVM?
How do you enable the concurrent garbage collector on Sun's JVM? -Xconcgc options allows us to use concurrent garbage collector (1.2.2_07+)we can also use -XX:+UseConcMarkSweepGC which is available beginning with J2SE 1.4.1.
2013-03-28, 1915👍, 0💬

When to Use the Incremental Low Pause Collector?
When to Use the Incremental Low Pause Collector? Use the incremental low pause collector when your application can afford to trade longer and more frequent young generation garbage collection pauses for shorter tenured generation pauses. A typical situation is one in which a larger tenured generatio...
2013-03-28, 1964👍, 0💬

What is Incremental Low Pause Collector?
What is Incremental Low Pause Collector? The incremental low pause collector is a generational collector similar to the default collector. The minor collections are done with the same young generation collector as the default collector. Do not use either -XX:+UseParallelGC or -XX:+UseParNewGC with t...
2013-03-27, 1976👍, 0💬

When to Use the Concurrent Low Pause Collector?
When to Use the Concurrent Low Pause Collector? Use the concurrent low pause collector if your application would benefit from shorter garbage collector pauses and can afford to share processor resources with the garbage collector when the application is running. Typically applications which have a r...
2013-03-27, 2014👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   Sort: Rank