<< < 164 165 166 167 168 169 170 171 172 173 174 > >>   Sort: Rank

Relation between HTML and HTTP
What Is the Relation between HTML and HTTP? HTTP (Hyper-Text Transfer Protocol) is an Internet communication protocol, that allows a viewer's computer talking to a publisher's computer to fetch HTML documents. The viewer's computer issues a HTTP request message to the publisher computer first. Then ...
2007-03-03, 5293👍, 0💬

Relation between HTML and the Web
What Is the Relation between HTML and the Web? The Web is a publisher technology based on the Internet to allow publishers to publish hyper linked documents to be viewed by Internet users. HTML is the language that used to compose those hyper linked documents. In another word, HTML is the technical ...
2007-03-03, 5337👍, 0💬

What Does a HTML Document Look Like
What Does a HTML Document Look Like? A HTML document is a normal text file with predefined tags mixed with the normal contents of the document. Tags are enclosed in pairs of angle brackets: "&lt" and "&gt;". Below is how a simple HTML document will look like if you open it in a text editor: ...
2007-03-03, 7731👍, 0💬

What Is HTML
What is HTML? HTML stands for Hyper-Text Markup Language. HTML is a scripting language that authors can use to embed text tags into a text document to add structural and formatting information. More precisely, HTML gives authors the means to: Publish online documents with headings, text, tables, lis...
2007-03-03, 5660👍, 0💬

What Is invokeLater() Method
When should the method invokeLater() be used? This method is used to ensure that Swing components are updated through the event-dispatching thread.
2007-03-03, 6654👍, 0💬

What Is 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.
2007-03-03, 6869👍, 0💬

Anonymous Classes
Can an anonymous class be declared as implementing an interface and extending a class? An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
2007-03-03, 6748👍, 0💬

Infinite Loops
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... } while(true) { ... }
2007-03-03, 6363👍, 0💬

Native Method
What is a native method? A native method is a method that is implemented in a language other than Java.
2007-03-03, 5864👍, 0💬

Component Subclasses in Swing Package
Name Component subclasses that support painting? The Canvas, Frame, Panel, and Applet classes support painting.
2007-03-03, 5438👍, 0💬

Preemptive Scheduling
What is the difference between preemptive scheduling and time slicing? Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and the...
2007-03-03, 5263👍, 0💬

Garbage Collection
Does garbage collection guarantee that a program will not run out of memory? No, it doesn't. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.
2007-03-03, 5557👍, 0💬

Wrapped Classes
What are wrapped classes? Wrapped classes are classes that allow primitive types to be accessed as objects.
2007-03-03, 5389👍, 0💬

Vector and ArrayList Classes
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synchronized and ArrayList is not.
2007-03-03, 6323👍, 0💬

ASCII, Unicode, UTF-8 and UTF-16
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bi...
2007-03-03, 7269👍, 0💬

Protected Methods
If a method is declared as protected, where may the method be accessed? A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.
2007-03-03, 4987👍, 0💬

Modifiers on Inner Classes
What modifiers may be used with an inner class that is a member of an outer class? A inner class may be declared as public, protected, private, static, final, or abstract.
2007-03-03, 5148👍, 0💬

Vector Class
What is the Vector class? The Vector class provides the capability to implement a growable array of objects
2007-03-03, 4768👍, 0💬

NullPointerException on String Objects
What can go wrong if you replace &emp;&emp; with &emp; in the following code: String a=null; if (a!=null &amp;&amp; a.length()&gt;10) { ... } A single ampersand here would lead to a NullPointerException.
2007-03-03, 4846👍, 0💬

Inner Class Declared inside a Method
Can an inner class declared inside of a method access local variables of this method? It's possible if these variables are final.
2007-03-03, 4844👍, 0💬

Differences 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...
2007-03-03, 4796👍, 0💬

Acquiring a Lock on an Object
What happens when a thread cannot acquire a lock on an object? If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.
2007-03-03, 4911👍, 0💬

sleep() and yield() Methods
What is the difference between yielding and sleeping? When a thread invokes its yield() method, it returns to the ready state. When a thread invokes its sleep() method, it returns to the waiting state.
2007-03-03, 5599👍, 0💬

States of a Thread
What are the high-level thread states? The high-level thread states are ready, running, waiting, and dead.
2007-03-03, 6444👍, 0💬

<< < 164 165 166 167 168 169 170 171 172 173 174 > >>   Sort: Rank