<< < 125 126 127 128 129 130 131 132 133 134 135 > >>   Sort: Date

Are COM objects managed or unmanaged?
Are COM objects managed or unmanaged? Since COM objects were written before .NET, apparently they are unmanaged. Any code not written in the Microsoft .NET framework environment is UNMANAGED. So naturally COM+ is unmanaged because it is written in Visual Basic 6.
2014-12-02, 2507👍, 0💬

What happens when you invoke a thread's interrupt method while it is sleeping or waiting?
What happens when you invoke a thread's interrupt method while it is sleeping or waiting? When a task's interrupt() method is executed, the task enters the ready state. The next time the task enters the running state, an InterruptedException is thrown.
2012-12-20, 2506👍, 0💬

Parsers? DOM vs SAX parser
Parsers? DOM vs SAX parser Parsers are fundamental xml components, a bridge between XML documents and applications that process that XML. The parser is responsible for handling xml syntax, checking the contents of the document against constraints established in a DTD or Schema. DOM 1. Tree of nodes ...
2012-08-23, 2505👍, 0💬

What advantage do Java's layout managers provide over traditional windowing systems?
What advantage do Java's layout managers provide over traditional windowing systems? Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java's layout managers aren't tied to absolute sizing and positioning, they are able to accommodate platfo...
2012-07-25, 2505👍, 0💬

What method must be overridden in a custom control?
What method must be overridden in a custom control? What method must be overridden in a custom control? * The Paint() method * The Control_Build() method * The Render() method * The default constructor The Render() method
2014-08-14, 2504👍, 0💬

Does Perl have reference type?
Does Perl have reference type? Yes. Perl can make a scalar or hash type reference by using backslash operator. For example $str = "here we go"; # a scalar variable $strref = \$str; # a reference to a scalar @array = (1..10); # an array $arrayref = \@array; # a reference to an array Note that the ref...
2013-09-12, 2504👍, 0💬

How can you minimize the need of garbage collection and make the memory use more effective?
How can you minimize the need of garbage collection and make the memory use more effective? Use object pooling and weak object references.
2013-04-19, 2502👍, 0💬

How do you pass control from one JSP page to another?
How do you pass control from one JSP page to another? Use the following ways to pass control of a request from one servlet to another or one jsp to another. The RequestDispatcher object ‘s forward method to pass the control. The response.sendRedirect method
2013-07-31, 2500👍, 0💬

How can you create a strong name for a .NET assembly?
How can you create a strong name for a .NET assembly? With the help of Strong Name tool (sn.exe).
2014-12-22, 2498👍, 0💬

How many JSP scripting elements are there and what are they?
How many JSP scripting elements are there and what are they? There are three scripting language elements: declarations, scriptlets, expressions.
2013-07-16, 2498👍, 0💬

What are use cases?
What are use cases? A use case describes a situation that a program might encounter and what behavior the program should exhibit in that circumstance. It is part of the analysis of a program. The collection of use cases should, ideally, anticipate all the standard circumstances and many of the extra...
2012-08-15, 2497👍, 0💬

What is the difference between shallow copy and deep copy?
What is the difference between shallow copy and deep copy? Shallow copy shares the same reference with the original object like cloning, whereas the deep copy get a duplicate instance of the original object. If the shallow copy has been changed, the original object will be reflected and vice versa.
2012-08-24, 2496👍, 0💬

What are the implicit objects?
What are the implicit objects? Implicit objects are objects that are created by the web container and contain information related to a particular request, page, or application. They are: --request --response --pageContext --session --application --out --config --page --exception
2013-07-08, 2495👍, 0💬

When can an object reference be cast to an interface reference?
When can an object reference be cast to an interface reference? An object reference can be cast to an interface reference when the object implements the referenced interface.
2012-07-13, 2492👍, 0💬

How can you tell the application to look for assemblies at the locations other than its own install?
How can you tell the application to look for assemblies at the locations other than its own install? Use the directive in the XML .config file for a given application. &lt;probing privatePath=”c:\mylibs; bin\debug” /> should do the trick. Or you can add additional search paths in the Prope...
2014-12-17, 2490👍, 0💬

Two methods have key words static synchronized and synchronized separately. What is the difference between them?
Two methods have key words static synchronized and synchronized separately. What is the difference between them? Both are synchronized methods. One is instance method, the other is class method. Method with static modifier is a class method. That means the method belongs to class itself and can be a...
2012-08-30, 2490👍, 0💬

What is the difference between the paint() and repaint() methods?
What is the difference between the paint() and repaint() methods? The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.
2012-07-26, 2489👍, 0💬

What does this do? gacutil /l | find /i “about”
What does this do? gacutil /l | find /i “about” Answer1: This command is used to install strong typed assembly in GAC Answer2: gacutil.exe is used to install strong typed assembly in GAC. gacutil.exe /l is used to lists the contents of the global assembly cache. |(pipe) symbol is used to filte...
2014-02-19, 2488👍, 0💬

The code in a finally clause will never fail to execute, right?
The code in a finally clause will never fail to execute, right? Using System.exit(1); in try block will not allow finally code to execute.
2013-07-11, 2488👍, 0💬

What is the List interface?
What is the List interface? The List interface provides support for ordered collections of objects.
2012-09-24, 2488👍, 0💬

What is JSP page?
What is JSP page? A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format such as HTML, SVG, WML, and XML, and JSP elements, which construct dynamic content.
2013-07-08, 2487👍, 0💬

What's the difference between constructors and other methods?
What's the difference between constructors and other methods? Constructors must have the same name as the class and can not return a value. They are only called once while regular methods could be called many times.
2012-08-27, 2487👍, 0💬

What's the difference between /^Foo/s and /^Foo/?
What's the difference between /^Foo/s and /^Foo/? The second would match Foo other than at the start of the record if $* were set. The deprecated $* flag does double duty, filling the roles of both /s and /m. By using /s, you suppress any settings of that spooky variable, and force your carets and d...
2013-09-12, 2486👍, 0💬

How can a GUI component handle its own events?
How can a GUI component handle its own events? A component can handle its own events by implementing the required event-listener interface and adding itself as its own event listener.
2012-12-06, 2484👍, 0💬

<< < 125 126 127 128 129 130 131 132 133 134 135 > >>   Sort: Date