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

Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?
Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}? ${var} is the lexical variable $var, and ${"var"} is the dynamic variable $var. Note that because the second is a symbol table lookup, it is disallowed under `use strict "refs"'. The words global, lo...
2013-08-26, 2129👍, 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, 2129👍, 0💬

What will be the output on executing the following code .
What will be the output on executing the following code . What will be the output on executing the following code. public class MyClass { public static void main (String args[] ) { int abc[] = new int [5]; System.out.println(abc); } } A Error array not initialized B 5 C null D Print some junk charac...
2013-03-08, 2127👍, 0💬

The two properties of a DataGrid that has to be specified to turn on sorting and paging respectively are ...
The two properties of a DataGrid that has to be specified to turn on sorting and paging respectively are ... The two properties of a DataGrid that has to be specified to turn on sorting and paging respectively are * EnableSorting = “true” and EnablePaging = “true” * DisableSorting = â...
2014-07-21, 2126👍, 0💬

Why Thread is faster compare to process?
Why Thread is faster compare to process? A thread is never faster than a process. If you run a thread(say there's a process which has spawned only one thread) in one JVM and a process in another and that both of them require same resources then both of them would take same time to execute. But, when...
2013-03-21, 2126👍, 0💬

Explain garbage collection?
Explain garbage collection? Garbage collection is one of the most important feature of Java. Garbage collection is also called automatic memory management as JVM automatically removes the unused variables/objects (value is null) from the memory. User program cann't directly free the object from memo...
2013-02-26, 2126👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 2123👍, 0💬

Is there a way to reference the "this" variable within a JSP page?
Is there a way to reference the "this" variable within a JSP page? Yes, there is. Under JSP 1.0, the page implicit object is equivalent to "this", and returns a reference to the servlet generated by the JSP page.
2013-07-30, 2120👍, 0💬

What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
What does Perl do if you try to exploit the execve(2) race involving setuid scripts? Sends mail to root and exits. It has been said that all programs advance to the point of being able to automatically read mail. While not quite at that point (well, without having a module loaded), Perl does at leas...
2013-09-02, 2119👍, 0💬

Use the Externalizable interface when you need complete control over your Bean's serialization (for example, when writing and r
Use the Externalizable interface when you need complete control over your Bean's serialization (for example, when writing and reading a specific file format). No. Earlier order is maintained.
2013-03-08, 2119👍, 0💬

In C#, which character is used to indicate a verbatim string literal?
In C#, which character is used to indicate a verbatim string literal? In C#, which character is used to indicate a verbatim string literal? * @ * ! * " * # @
2014-03-18, 2117👍, 0💬

What are class members and Instance members?
What are class members and Instance members? Any global members(Variables, methods etc.) which are static are called as Class level members and those which are non-static are called as Instance level members.
2013-03-19, 2116👍, 0💬

Can an unreachable object become reachable again?
Can an unreachable object become reachable again? An unreachable object may become reachable again. This can happen when the object's finalize() method is invoked and the object performs an operation which causes it to become accessible to reachable objects.
2013-06-17, 2115👍, 0💬

Name four Container classes.
Name four Container classes. Window, Frame, Dialog, FileDialog, Panel, Applet, or ScrollPane
2012-12-21, 2115👍, 0💬

Objects are passed by value or by reference?
Objects are passed by value or by reference? Java only supports pass by value. With objects, the object reference itself is passed by value and so both the original reference and parameter copy both refer to the same object .
2013-05-17, 2111👍, 0💬

When does the compiler supply a default constructor for a class?
When does the compiler supply a default constructor for a class? The compiler supplies a default constructor for a class if no other constructors are provided.
2012-12-14, 2110👍, 0💬

How you can force the garbage collection?
How you can force the garbage collection? Garbage collection automatic process and can't be forced.
2013-02-27, 2107👍, 0💬

Under what conditions is an object's finalize() method invoked by the garbage collector?
Under what conditions is an object's finalize() method invoked by the garbage collector? The garbage collector invokes an object's finalize() method when it detects that the object has become unreachable.
2012-12-26, 2105👍, 0💬

Which dll is required to translate XML to SQL in IIS ?
Which dll is required to translate XML to SQL in IIS ? Microsoft.data.sqlxml.dll
2013-12-24, 2104👍, 0💬

What is OOPS?
What is OOPS? OOP is the common abbreviation for Object-Oriented Programming.
2013-02-27, 2104👍, 0💬

How are this() and super() used with constructors?
How are this() and super() used with constructors? This() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.
2013-06-13, 2101👍, 0💬

What are the two basic ways in which classes that can be run as threads may be defined?
What are the two basic ways in which classes that can be run as threads may be defined? A thread class may be declared as a subclass of Thread, or it may implement the Runnable interface.
2013-01-31, 2101👍, 0💬

Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside
Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB? You can pass the HttpSession as parameter to an EJB method, only if all objects in session are serializable. This has to be consider as "passed-by-value", that mean...
2013-07-27, 2100👍, 0💬

What is the difference between a constructor and a method?
What is the difference between a constructor and a method? A constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator. A method is an ordinary member function of a cla...
2013-04-29, 2100👍, 0💬

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