<< < 141 142 143 144 145 146 147 148 149 150 151 > >>   Sort: Date

Is null a keyword?
Is null a keyword? The null value is not a keyword.
2013-02-14, 2210👍, 0💬

How does JSP handle run-time exceptions?
How does JSP handle run-time exceptions? You can use the errorPage attribute of the page directive to have uncaught runtime exceptions automatically forwarded to an error processing page. For example: redirects the browser to the JSP page error.jsp if an uncaught exception is encountered during requ...
2013-07-25, 2209👍, 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, 2208👍, 0💬

I made my class Cloneable but I still get 'Can't access protected method clone. Why?
I made my class Cloneable but I still get 'Can't access protected method clone. Why? Yeah, some of the Java books, in particular "The Java Programming Language", imply that all you have to do in order to have your class support clone() is implement the Cloneable interface. Not so. Perhaps that was t...
2013-02-07, 2208👍, 0💬

What modifiers can be used with a local inner class?
What modifiers can be used with a local inner class? A local inner class may be final or abstract.
2012-12-11, 2208👍, 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, 2207👍, 0💬

Can an exception be rethrown?
Can an exception be rethrown? Yes, an exception can be rethrown.
2012-12-13, 2207👍, 0💬

How are the elements of a CardLayout organized?
How are the elements of a CardLayout organized? The elements of a CardLayout are stacked, one on top of the other, like a deck of cards.
2012-11-28, 2207👍, 0💬

What is JIT?
What is JIT? JIT stands for Just In Time compiler. It compiles java byte code to native code.
2013-03-13, 2206👍, 0💬

Can an Interface be final?
Can an Interface be final? yes.
2013-02-04, 2206👍, 0💬

What is Overriding?
What is Overriding? When a class defines a method using the same name, return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass. When the method is invoked for an object of the class, it is the new definition of the method that is calle...
2013-05-10, 2205👍, 0💬

What is the purpose of the File class?
What is the purpose of the File class? The File class is used to create objects that provide access to the files and directories of a local file system.
2012-12-12, 2205👍, 0💬

What Checkbox method allows you to tell if a Checkbox is checked?
What Checkbox method allows you to tell if a Checkbox is checked? getState()
2012-12-31, 2204👍, 0💬

When you serialize an object, what happens to the object references included in the object?
When you serialize an object, what happens to the object references included in the object? The serialization mechanism generates an object graph for serialization. Thus it determines whether the included object references are serializable or not. This is a recursive process. Thus when an object is ...
2013-05-22, 2202👍, 0💬

What is the relationship between a method's throws clause and the exceptions that can be thrown during the method's execution?
What is the relationship between a method's throws clause and the exceptions that can be thrown during the method's execution? A method's throws clause must declare any checked exceptions that are not caught within the body of the method.
2012-12-27, 2202👍, 0💬

Explain the Encapsulation principle
Explain the Encapsulation principle Encapsulation is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. One way to think about encapsulation is as a protective wrapper that prevents code ...
2013-02-28, 2201👍, 0💬

What's the best way to write a multi-statement macro?
What's the best way to write a multi-statement macro? The usual goal is to be able to invoke the macro as if it were an expression statement consisting of a function call: MACRO(arg1, arg2); This means that the ``caller'' will be supplying the final semicolon, so the macro body should not. The macro...
2016-02-22, 2199👍, 0💬

Can there be an abstract class with no abstract methods in it?
Can there be an abstract class with no abstract methods in it? yes.
2013-02-01, 2199👍, 0💬

Why isn't there operator overloading?
Why isn't there operator overloading? Because C++ has proven by example that operator overloading makes code almost impossible to maintain. In fact there very nearly wasn't even method overloading in Java, but it was thought that this was too useful for some very basic methods like print(). Note tha...
2013-02-11, 2198👍, 0💬

Can an Interface have an inner class?
Can an Interface have an inner class? Yes public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("in interfia"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
2013-02-04, 2198👍, 0💬

What is externalization? Where is it useful??
What is externalization? Where is it useful?? Use the Externalizable interface when you need complete control over your Bean's serialization (for example, when writing and reading a specific file format).
2013-03-08, 2197👍, 0💬

What modifiers may be used with a top-level class?
What modifiers may be used with a top-level class? A top-level class may be public, abstract, or final.
2013-01-25, 2197👍, 0💬

The process that ASP.NET uses to keep track of Sessions without cookies is ..,
The process that ASP.NET uses to keep track of Sessions without cookies is .., The process that ASP.NET uses to keep track of Sessions without cookies is * Cookie Munging * Cookie Monking * Cookie Mocking * Cookie Munching Cookie munging
2014-06-16, 2195👍, 0💬

ASP.NET interview questions only (1)
ASP.NET interview questions only (1) 1. Describe the difference between a Thread and a Process? 2. What is a Windows Service and how does its lifecycle differ from a .standard. EXE? 3. What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum ...
2014-01-07, 2195👍, 0💬

<< < 141 142 143 144 145 146 147 148 149 150 151 > >>   Sort: Date