<< < 12 13 14 15 16 17 18 19 20 21 22 > >>   Sort: Rank

Does garbage collection guarantee that a program will not run out of memory?
Does garbage collection guarantee that a program will not run out of memory? Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create obje...
2012-10-02, 2108👍, 0💬

What are wrapper classes?
What are wrapper classes? Wrapper classes are classes that allow primitive types to be accessed as objects.
2012-10-01, 2123👍, 0💬

Is sizeof a keyword?
Is sizeof a keyword? The sizeof operator is not a keyword.
2012-10-01, 2183👍, 0💬

Which java.util classes and interfaces support event handling?
Which java.util classes and interfaces support event handling? The EventObject class and the EventListener interface support event processing.
2012-09-28, 2114👍, 0💬

What is the difference between yielding and sleeping?
What is the difference between yielding and sleeping? When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.
2012-09-28, 2100👍, 0💬

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bi...
2012-09-27, 2201👍, 0💬

Which method of the Component class is used to set the position and size of a component?
Which method of the Component class is used to set the position and size of a component? setBounds()
2012-09-27, 2102👍, 0💬

What is the difference between the &gt&gt and &gt&gt&gt operators?
What is the difference between the &gt&gt and &gt&gt&gt operators? The &gt&gt operator carries the sign bit when shifting right. The &gt&gt&gt zero-fills bits that have been shifted out.
2012-09-26, 2087👍, 0💬

What is an Iterator interface?
What is an Iterator interface? The Iterator interface is used to step through the elements of a Collection.
2012-09-26, 2003👍, 0💬

What modifiers may be used with an inner class that is a member of an outer class?
What modifiers may be used with an inner class that is a member of an outer class? A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.
2012-09-25, 2075👍, 0💬

What is the Vector class?
What is the Vector class? The Vector class provides the capability to implement a growable array of objects
2012-09-25, 2065👍, 0💬

How does Java handle integer overflows and underflows?
How does Java handle integer overflows and underflows? It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.
2012-09-24, 2270👍, 0💬

What is the List interface?
What is the List interface? The List interface provides support for ordered collections of objects.
2012-09-24, 2221👍, 0💬

which characters may be used as the second character of an identifier, but not as the first character of an identifier?
which characters may be used as the second character of an identifier, but not as the first character of an identifier? The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.
2012-09-21, 2107👍, 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.
2012-09-21, 2113👍, 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.
2012-09-20, 2320👍, 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.
2012-09-20, 2121👍, 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.
2012-09-19, 2307👍, 0💬

What is the preferred size of a component?
What is the preferred size of a component? The preferred size of a component is the minimum component size that will allow the component to display normally.
2012-09-19, 2088👍, 0💬

Is null a keyword?
Is null a keyword? The null value is not a keyword.
2012-09-18, 2144👍, 0💬

What is new with the stop(), suspend() and resume() methods in JDK 1.2??
What is new with the stop(), suspend() and resume() methods in JDK 1.2?? The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
2012-09-18, 2276👍, 0💬

Can a lock be acquired on a class?
Can a lock be acquired on a class? Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object.
2012-09-17, 2190👍, 0💬

What is synchronization and why is it important?
What is synchronization and why is it important? With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of...
2012-09-17, 2140👍, 0💬

Why do threads block on I/O?
Why do threads block on I/O? Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.
2012-09-14, 2375👍, 0💬

<< < 12 13 14 15 16 17 18 19 20 21 22 > >>   Sort: Rank