<< < 134 135 136 137 138 139 140 141 142 143 144 > >>   Sort: Date

What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"?
What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"? When u compile a program using command line, u add the references using /r switch. When you compile a program using Visual Studio, it adds those references to our assembly, which a...
2013-10-24, 2223👍, 0💬

What are the two kinds of comments in JSP and what's the difference between them.
What are the two kinds of comments in JSP and what's the difference between them. &lt%-- JSP Comment --%&gt &lt!-- HTML Comment --&gt
2013-07-05, 2223👍, 0💬

If I want an object of my class to be thrown as an exception object, what should I do?
If I want an object of my class to be thrown as an exception object, what should I do? The class should extend from Exception class. Or you can extend your class from some more precise exception type also.
2013-05-30, 2223👍, 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, 2223👍, 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, 2223👍, 0💬

What happens if an exception is not caught?
What happens if an exception is not caught? An uncaught exception results in the uncaughtException() method of the thread's ThreadGroup being invoked, which eventually results in the termination of the program in which it is thrown.
2013-01-15, 2223👍, 0💬

Explain the Polymorphism principle
Explain the Polymorphism principle The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as as general category for different types of actions. The specific action is determined by the exact nature of the situation. The concept of polymorphism ...
2013-03-01, 2221👍, 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, 2221👍, 0💬

What environment variables do I need to set on my machine in order to be able to run Java programs?
What environment variables do I need to set on my machine in order to be able to run Java programs? CLASSPATH and PATH are the two variables.
2013-05-07, 2220👍, 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, 2220👍, 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, 2220👍, 0💬

What is cyclomatic complexity and why is it important?
What is cyclomatic complexity and why is it important? Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally measure the complexity of a program. It directly measures the number of linearly independent paths through a program’s source code. ...
2014-02-18, 2219👍, 0💬

Is sizeof a keyword?
Is sizeof a keyword? The sizeof operator is not a keyword in Java.
2013-04-11, 2219👍, 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, 2219👍, 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, 2218👍, 0💬

Which class is extended by all other classes?
Which class is extended by all other classes? The Object class is extended by all other classes.
2012-11-12, 2217👍, 0💬

Which class is the superclass for every class.
Which class is the superclass for every class. Object.
2013-04-11, 2216👍, 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, 2215👍, 0💬

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

What modifiers are allowed for methods in an Interface?
What modifiers are allowed for methods in an Interface? Only public and abstract modifiers are allowed for methods in interfaces.
2013-02-06, 2213👍, 0💬

What class allows you to read objects directly from a stream?
What class allows you to read objects directly from a stream? The ObjectInputStream class supports the reading of objects from input streams.
2012-12-25, 2213👍, 0💬

In which package are most of the AWT events that support the event-delegation model defined?
In which package are most of the AWT events that support the event-delegation model defined? Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package.
2012-10-16, 2213👍, 0💬

<< < 134 135 136 137 138 139 140 141 142 143 144 > >>   Sort: Date