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

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

How are Observer and Observable used?
How are Observer and Observable used? Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by obje...
2013-06-05, 2280👍, 0💬

What is the Collection interface?
What is the Collection interface? The Collection interface provides support for the implementation of a mathematical bag - an unordered collection of objects that may contain duplicates.
2012-12-10, 2277👍, 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, 2276👍, 0💬

What is the % operator?
What is the % operator? It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.
2012-11-09, 2275👍, 0💬

What does it mean that a method or class is abstract?
What does it mean that a method or class is abstract? An abstract class cannot be instantiated. Only its subclasses can be instantiated. You indicate that a class is abstract with the abstract keyword like this: public abstract class Container extends Component { Abstract classes may contain abstrac...
2013-02-19, 2274👍, 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, 2273👍, 0💬

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

Which class should you use to obtain design information about an object?
Which class should you use to obtain design information about an object? The Class class is used to obtain information about an object's design.
2012-11-30, 2272👍, 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, 2271👍, 0💬

What is the purpose of the Runtime class?
What is the purpose of the Runtime class? The purpose of the Runtime class is to provide access to the Java runtime system.
2012-10-22, 2270👍, 0💬

Can I import same package/class twice? Will the JVM load the package twice at runtime?
Can I import same package/class twice? Will the JVM load the package twice at runtime? One can import the same package or same class multiple times. Neither compiler nor JVM complains abt it. And the JVM will internally load the class only once no matter how many times you import the same class.
2013-05-09, 2268👍, 0💬

Explain the Inheritance principle.
Explain the Inheritance principle. Inheritance is the process by which one object acquires the properties of another object.
2013-03-01, 2267👍, 0💬

What interface is extended by AWT event listeners?
What interface is extended by AWT event listeners? All AWT event listeners extend the java.util.EventListener interface.
2013-01-14, 2267👍, 0💬

How can the Checkbox class be used to create a radio button?
How can the Checkbox class be used to create a radio button? By associating Checkbox objects with a CheckboxGroup.
2012-12-18, 2267👍, 0💬

How does multithreading take place on a computer with a single CPU?
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 tasks execute sequentially.
2012-12-14, 2267👍, 0💬

What is Externalizable?
What is Externalizable? Externalizable is an Interface that extends Serializable Interface. And sends data into Streams in Compressed Format. It has two methods, writeExternal(ObjectOuput out) and readExternal(ObjectInput in)
2013-06-18, 2266👍, 0💬

Describe the principles of OOPS
Describe the principles of OOPS There are three main principals of oops which are called Polymorphism, Inheritance and Encapsulation.
2013-02-28, 2264👍, 0💬

Which Component subclass is used for drawing and painting?
Which Component subclass is used for drawing and painting? Canvas
2013-01-30, 2262👍, 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, 2262👍, 0💬

Name three subclasses of the Component class.
Name three subclasses of the Component class. Box.Filler, Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, or TextComponent
2012-10-19, 2261👍, 0💬

What is the Java Virtual Machine?
What is the Java Virtual Machine? The Java Virtual Machine is a software that can be ported onto various hardware-based platforms.
2013-02-20, 2260👍, 0💬

What is the main difference between Java platform and other platforms?
What is the main difference between Java platform and other platforms? The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms. The Java platform has three elements: Java programming language The Java Virtual Machin...
2013-02-19, 2260👍, 0💬

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