<< < 118 119 120 121 122 123 124 125 126 127 128 > >>   Sort: Date

What is the purpose of finalization?
What is the purpose of finalization? The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.
2012-06-28, 2650👍, 0💬

Interview question
Have you ever worked without salary?
2020-02-20, 2648👍, 0💬

How can you add properties to an object?
How can you add properties to an object?
2013-10-23, 2644👍, 0💬

What is casting?
What is casting? There are two types of casting, casting between primitive numeric types and casting between object references. Casting between numeric types is used to convert larger values, such as double values, to smaller values, such as byte values. Casting between object references is used to ...
2012-07-30, 2644👍, 0💬

What happens when a page is statically included in another JSP page?
What happens when a page is statically included in another JSP page? An include directive tells the JSP engine to include the contents of another file (HTML, JSP, etc.) in the current page. This process of including a file is also called as static include.
2013-08-15, 2643👍, 0💬

Describe run-time type identification.
Describe run-time type identification. The ability to determine at run time the type of an object by using the typeid operator or the dynamic_cast operator.
2012-03-22, 2643👍, 0💬

How are the elements of a BorderLayout organized?
How are the elements of a BorderLayout organized? The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.
2012-11-08, 2642👍, 0💬

What is the difference between Process and Thread?
What is the difference between Process and Thread? A process can contain multiple threads. In most multithreading operating systems, a process gets its own memory address space; a thread doesn't. Threads typically share the heap belonging to their parent process. For instance, a JVM runs in a single...
2012-06-18, 2639👍, 0💬

What are synchronized methods and synchronized statements?
What are synchronized methods and synchronized statements? Synchronized methods are methods that are used to control access to a method or an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to s...
2012-06-04, 2639👍, 0💬

When a thread blocks on I/O, what state does it enter?
When a thread blocks on I/O, what state does it enter? A thread enters the waiting state when it blocks on I/O.
2012-10-10, 2638👍, 0💬

How to concatenate strings with Perl?
How to concatenate strings with Perl? Method #1 - using Perl's dot operator: $name = 'checkbook'; $filename = "/tmp/" . $name . ".tmp"; Method #2 - using Perl's join function $name = "checkbook"; $filename = join "", "/tmp/", $name, ".tmp"; Method #3 - usual way of concatenating strings $filename = ...
2013-09-19, 2637👍, 0💬

Name two subclasses of the TextComponent class.
Name two subclasses of the TextComponent class. TextField and TextArea
2012-10-29, 2636👍, 0💬

What is the difference between the Font and FontMetrics classes?
What is the difference between the Font and FontMetrics classes? The FontMetrics class is used to define implementation-specific properties, such as ascent and descent, of a Font object
2012-07-17, 2636👍, 0💬

How can I set a cookie and delete a cookie from within a JSP page?
How can I set a cookie and delete a cookie from within a JSP page? A cookie, mycookie, can be deleted using the following scriptlet:
2013-08-07, 2635👍, 0💬

What is Rational Suite?
I found your website in a Google search, after having visited another link in that search, IBM, which had an entire website devoted to Rational Suite. Essentially, all I wanted to know was who the vendor/developer of this software was and what the software did and hopefully get some detailed descrip...
2019-07-20, 2631👍, 0💬

How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
How do you find out if a linked-list has an end? (i.e. the list is not a cycle) You can find out by using 2 pointers. One of them goes 2 nodes each time. The second one goes at 1 nodes each time. If there is a cycle, the one that goes 2 nodes each time will eventually meet the one that goes slower. ...
2012-01-18, 2628👍, 0💬

Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written?
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written? Yes, it does. The FileNoFoundException is inherited from the IOException. Exception's subclasses have to be caught first.
2012-06-13, 2627👍, 0💬

What is the Set interface?
What is the Set interface? The Set interface provides methods for accessing the elements of a finite mathematical set. Sets do not allow duplicate elements.
2012-08-02, 2620👍, 0💬

What is multi-threading?
What is multi-threading? Multi-threading means various threads that run in a system.
2012-06-08, 2619👍, 0💬

If a class is located in a package, what do you need to change in the OS environment to be able to use it?
If a class is located in a package, what do you need to change in the OS environment to be able to use it? You need to add a directory or a jar file that contains the package directories to the CLASSPATH environment variable. Let's say a class Employee belongs to a package com.xyz.hr; and is located...
2012-05-28, 2619👍, 0💬

How do you give functions private variables that retain their values between calls?
How do you give functions private variables that retain their values between calls? Create a scope surrounding that sub that contains lexicals. Only lexical variables are truly private, and they will persist even when their block exits if something still cares about them. Thus: { my $i = 0; sub next...
2013-09-25, 2618👍, 0💬

What tool is used to manage the GAC?
What tool is used to manage the GAC? What tool is used to manage the GAC? * GacMgr.exe * GacSvr32.exe * GacUtil.exe * RegSvr.exe GacUtil.exe
2014-03-11, 2615👍, 0💬

What is synchronization and why is it important?
What is synchronization and why is it important? With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of...
2012-05-31, 2615👍, 0💬

What's new with the stop(), suspend() and resume() methods in JDK 1.2?
What's new with the stop(), suspend() and resume() methods in JDK 1.2? The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
2012-06-05, 2612👍, 0💬

<< < 118 119 120 121 122 123 124 125 126 127 128 > >>   Sort: Date