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

What are the different identifier states of a Thread?
What are the different identifier states of a Thread? The different identifiers of a Thread are: R - Running or runnable thread S - Suspended thread CW - Thread waiting on a condition variable MW - Thread waiting on a monitor lock MS - Thread suspended waiting on a monitor lock
2013-02-07, 2780👍, 0💬

What is the difference between a Java application and a Java applet?
What is the difference between a Java application and a Java applet? The difference between a Java application and a Java applet is that a Java application is a program that can be executed using the Java interpeter, and a JAVA applet can be transfered to different networks and executed by using a w...
2012-04-12, 2773👍, 0💬

How does the XmlSerializer work? What ACL permissions does a process using it require?
How does the XmlSerializer work? What ACL permissions does a process using it require? XmlSerializer requires write permission to the system’s TEMP directory.
2014-02-21, 2772👍, 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, 2767👍, 0💬

Is String a primitive data type in Java?
Is String a primitive data type in Java? No String is not a primitive data type in Java, even though it is one of the most extensively used object. Strings in Java are instances of String class defined in java.lang package.
2013-06-25, 2765👍, 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, 2763👍, 0💬

What is the purpose of the File class?
What is the purpose of the File class? The File class is used to create objects that provide access to the files and directories of a local file system.
2012-07-27, 2761👍, 0💬

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

How do you write a function that can reverse a linked-list?
How do you write a function that can reverse a linked-list? void reverselist(void) { if(head==0) return; if(head-&gt;next==0) return; if(head-&gt;next==tail) { head-&gt;next = 0; tail-&gt;next = head; } else { node* pre = head; node* cur = head-&gt;next; node* curnext = cur-&...
2012-01-26, 2757👍, 0💬

Ms.
My browser says connection failed & at top of page it says empty page? It won't let me send or receive pictures, or download. Every thing work great for 2nite so it's not my location. I got a few songs blue toothed to my cell and few mins later it refused to go online. I have deleted those blue ...
2013-09-03, 2756👍, 0💬

What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)
What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.) $cur-&gt;new()-&gt;{LI NK}The indirect object syntax only has a single token lookahead. That means if new() is a method, it only grabs the very next token, not the entire following expression. Thi...
2013-09-09, 2753👍, 0💬

What is the page directive is used to prevent a JSP page from automatically creating a session?
What is the page directive is used to prevent a JSP page from automatically creating a session? &lt;%@ page session="false"&gt;
2013-08-08, 2752👍, 0💬

How do I sort a hash by the hash value?
How do I sort a hash by the hash value? Here's a program that prints the contents of the grades hash, sorted numerically by the hash value: #!/usr/bin/perl -w # Help sort a hash by the hash 'value', not the 'key'. to highest). sub hashValueAscendingNum { $grades{$a} &lt;=&gt; $grades{$b}; } ...
2013-09-10, 2751👍, 0💬

If a class is declared without any access modifiers, where may the class be accessed?
If a class is declared without any access modifiers, where may the class be accessed? A class that is declared without any access modifiers is said to have package or friendly access. This means that the class can only be accessed by other classes and interfaces that are defined within the same pack...
2012-07-19, 2750👍, 0💬

What value does readLine() return when it has reached the end of a file?
What value does readLine() return when it has reached the end of a file? The readLine() method returns null when it has reached the end of a file.
2012-10-05, 2749👍, 0💬

Can an inner class declared inside of a method access local variables of this method?
Can an inner class declared inside of a method access local variables of this method? It's possible if these variables are final.
2012-06-19, 2749👍, 0💬

What is NullPointerException and how to handle it?
What is NullPointerException and how to handle it? When an object is not initialized, the default value is null. When the following things happen, the NullPointerException is thrown: --Calling the instance method of a null object. --Accessing or modifying the field of a null object. --Taking the len...
2012-05-17, 2747👍, 0💬

What are three ways in which a thread can enter the waiting state?
What are three ways in which a thread can enter the waiting state? A thread can enter the waiting state by invoking its sleep() method, by blocking on IO, by unsuccessfully attempting to acquire an object's lock, or by invoking an object's wait() method. It can also enter the waiting state by invoki...
2012-06-04, 2745👍, 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, 2744👍, 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, 2743👍, 0💬

If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}? The second is disallowed under `use strict "refs"'. Dereferencing a string with *{"STR"} is disallowed under the refs stricture, although *{STR} would not be. This is similar in spirit to the way ${"...
2013-09-16, 2742👍, 0💬

What’s the auto keyword good for?
What’s the auto keyword good for? Answer1 Not much. It declares an object with automatic storage duration. Which means the object will be destroyed at the end of the objects scope. All variables in functions that are not declared as static and not dynamically allocated have automatic storage duratio...
2012-03-08, 2739👍, 0💬

How do I print the entire contents of an array with Perl?
How do I print the entire contents of an array with Perl? To answer this question, we first need a sample array. Let's assume that you have an array that contains the name of baseball teams, like this: @teams = ('cubs', 'reds', 'yankees', 'dodgers'); If you just want to print the array with the arra...
2013-09-24, 2736👍, 0💬

What is Serialization and deserialization?
What is Serialization and deserialization? Serialization is the process of writing the state of an object to a byte stream. Deserialization is the process of restoring these objects.
2012-08-09, 2735👍, 0💬

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