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

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💬

What are ClassLoaders?
What are ClassLoaders? A class loader is an object that is responsible for loading classes. The class ClassLoader is an abstract class. Given the name of a class, a class loader should attempt to locate or generate data that constitutes a definition for the class. A typical strategy is to transform ...
2013-03-14, 2194👍, 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, 2192👍, 0💬

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, 2190👍, 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, 2190👍, 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, 2190👍, 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, 2189👍, 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, 2189👍, 0💬

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, 2187👍, 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, 2187👍, 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, 2186👍, 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, 2183👍, 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, 2183👍, 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, 2182👍, 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, 2181👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 2180👍, 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, 2180👍, 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, 2178👍, 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, 2175👍, 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, 2175👍, 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, 2174👍, 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, 2173👍, 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, 2173👍, 0💬

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

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