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

How do I do &lt; fill-in-the-blank &gt; for each element in a hash?
How do I do &lt; fill-in-the-blank &gt; for each element in a hash? Here's a simple technique to process each element in a hash: #!/usr/bin/perl -w %days = ( 'Sun' =>'Sunday', 'Mon' => 'Monday', 'Tue' => 'Tuesday', 'Wed' => 'Wednesday', 'Thu' => 'Thursday', 'Fri' => 'Friday', 'Sat' => 'Satur...
2013-09-03, 2207👍, 0💬

When to Use the Throughput Collector?
When to Use the Throughput Collector? Use the throughput collector when you want to improve the performance of your application with larger numbers of processors. In the default collector garbage collection is done by one thread, and therefore garbage collection adds to the serial execution time of ...
2013-03-25, 2207👍, 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, 2204👍, 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, 2204👍, 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, 2203👍, 0💬

What are the restrictions placed on static method ?
What are the restrictions placed on static method ? We cannot override static methods. We cannot access any object variables inside static method. Also the this reference also not available in static methods.
2013-03-12, 2200👍, 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, 2199👍, 0💬

What restrictions are placed on method overloading?
What restrictions are placed on method overloading? Two methods may not have the same name and argument list but different return types.
2012-12-19, 2198👍, 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, 2195👍, 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, 2195👍, 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, 2194👍, 0💬

Do I need to import java.lang package any time? Why ?
Do I need to import java.lang package any time? Why ? No. It is by default loaded internally by the JVM.
2013-05-09, 2193👍, 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, 2191👍, 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, 2191👍, 0💬

What classes of exceptions may be thrown by a throw statement?
What classes of exceptions may be thrown by a throw statement? A throw statement may throw any expression that may be assigned to the Throwable type.
2013-01-03, 2190👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 2188👍, 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, 2188👍, 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, 2187👍, 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, 2185👍, 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, 2184👍, 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, 2184👍, 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, 2181👍, 0💬

What is the difference between a field variable and a local variable?
What is the difference between a field variable and a local variable? A field variable is a variable that is declared as a member of a class. A local variable is a variable that is declared local to a method.
2012-12-25, 2181👍, 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, 2179👍, 0💬

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