<< < 14 15 16 17 18 19 20 21 22 23 24 > >>   Sort: Date

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.
2013-02-12, 2025👍, 0💬

What is the purpose of the System class?
What is the purpose of the System class? The purpose of the System class is to provide access to system resources.
2012-11-27, 2020👍, 0💬

Can an object be garbage collected while it is still reachable?
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..
2012-11-12, 2020👍, 0💬

Can a top level class be private or protected?
Can a top level class be private or protected? No. A top level class can not be private or protected. It can have either "public" or no modifier. If it does not have a modifier it is supposed to have a default access.If a top level class is declared as private the compiler will complain that the "mo...
2013-05-15, 2019👍, 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, 2017👍, 0💬

Is &&= a valid Java operator?
Is &&= a valid Java operator? No, it is not.
2012-11-29, 2017👍, 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, 2016👍, 0💬

Which Component subclass is used for drawing and painting?
Which Component subclass is used for drawing and painting? Canvas
2013-01-30, 2016👍, 0💬

What happens when you add a double value to a String?
What happens when you add a double value to a String? The result is a String object.
2013-01-08, 2016👍, 0💬

Is a class a subclass of itself?
Is a class a subclass of itself? A class is a subclass of itself.
2012-12-05, 2016👍, 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, 2014👍, 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, 2014👍, 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, 2013👍, 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, 2012👍, 0💬

What does it mean that a class or member is final?
What does it mean that a class or member is final? A final class can no longer be subclassed. Mostly this is done for security reasons with basic classes like String and Integer. It also allows the compiler to make some optimizations, and makes thread safety a little easier to achieve. Methods may b...
2013-02-18, 2011👍, 0💬

What is a void return type?
What is a void return type? A void return type indicates that a method does not return a value.
2013-01-07, 2010👍, 0💬

What is final?
What is final? A final class can't be extended ie., final class may not be subclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant).
2013-05-01, 2007👍, 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, 2006👍, 0💬

What is serialization?
What is serialization? Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.
2013-05-17, 2005👍, 0💬

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

What is the Locale class?
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.
2013-06-11, 2004👍, 0💬

Which package is always imported by default?
Which package is always imported by default? The java.lang package is always imported by default.
2013-01-09, 2004👍, 0💬

When is the finally clause of a try-catch-finally statement executed?
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 the finally clause.
2012-12-17, 2004👍, 0💬

What is the difference between the paint() and repaint() methods?
What is the difference between the paint() and repaint() methods? The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.
2012-12-12, 2004👍, 0💬

<< < 14 15 16 17 18 19 20 21 22 23 24 > >>   Sort: Date