<< < 6 7 8 9 10 11 12 13 14 15 16 > >>   Sort: Date

What is DOCTYPE
What is a DOCTYPE? Which one do I use? According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Originally, the DOCTYPE declaration was used only by SGML-based tools like HTML validators, which needed to determine which...
2007-03-03, 6047👍, 0💬

What are different types of JIT ?
.NET INTERVIEW QUESTIONS - What are different types of JIT ? JIT compiler is a part of the runtime execution environment. In Microsoft .NET there are three types of JIT compilers: * Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the t...
2010-04-13, 6046👍, 0💬

How To Group Multiple Test Classes into a Suite in JUnit 4.4?
How To Group Multiple Test Classes into a Suite in JUnit 4.4? JUnit 4.4 stops using the "public static Test suite()" method to build a test suite class. It is now provides the org.junit.runners.Suite class and two annotations to help you to build test suite. org.junit.runners.Suite - JUnit 4.4 runne...
2008-01-29, 6045👍, 0💬

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

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

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

How can JavaScript be used to personalize or tailor a Web site to fit
How can JavaScript be used to personalize or tailor a Web site to fit individual users? JavaScript allows a Web page to perform "if-then" kinds of decisions based on browser version, operating system, user input, and, in more recent browsers, details about the screen size in which the browser is run...
2008-06-03, 6017👍, 0💬

Latest Version of HTML Specification?
What Is the Latest Version of HTML Specification? The latest HTML specification is HTML 4.01 specification published in December 1999 by W3C. If you are professional HTML developer, you should get a copy of this specification at http://www.w3.org/TR/html4/ . HTML 4 extends HTML with mechanisms for s...
2007-03-03, 6016👍, 0💬

What Is a Deadlock
What Is a Deadlock? Deadlock is a unique situation in a multi user system that causes two or more users to wait indefinitely for a locked resource. First user needs a resource locked by the second user and the second user needs a resource locked by the first user. To avoid dead locks, avoid using ex...
2007-04-15, 6007👍, 0💬

Under What Conditions Should You Test set() and get() Methods?
Under What Conditions Should You Test set() and get() Methods? This is a good question for a job interview. It shows your experience with test design and data types. Tests should be designed to target areas that might break. set() and get() methods on simple data types are unlikely to break. So no n...
2008-02-12, 6004👍, 0💬

Why Not Just Write a main() Method for Unit Testing?
Why Not Just Write a main() Method for Unit Testing? It is possible to write a main() method in each class that need to be tested for unit testing. In the main() method, you could create test object of the class itself, and write some tests to test its methods. However, this is not a recommended app...
2008-02-06, 6000👍, 0💬

Acquiring Locks on Classes
Can a lock be acquired on a class? Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object.
2007-03-03, 5996👍, 0💬

How to dereference a reference
How to dereference a reference? There are a number of ways to dereference a reference: Using two dollar signs to dereference a scalar like: $original = $$strref; Using @ sign to dereference an array like: @list = @$arrayref; Similar for hashes.
2007-11-21, 5990👍, 0💬

Under What Conditions Should You Not Test Get() and Set() Methods?
Under What Conditions Should You Not Test Get() and Set() Methods? The JUnit FAQ provides a good answer to this question: Most of the time, get/set methods just can't break, and if they can't break, then why test them? While it is usually better to test more, there is a definite curve of diminishing...
2008-02-19, 5988👍, 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, 5987👍, 0💬

fork()
main() { int i = 2; int ret_val; while(i > 0) { ret_val = fork(); if (ret_val==0) { printf(“In child %d. \n”, i); } else{ printf(“In parent %d. \n”, i);} i=i-1; } } } The logic of this code looks clear. But what is the question?
2009-04-19, 5982👍, 0💬

What Happens If a JUnit Test Method Is Declared as "private"
What Happens If a JUnit Test Method Is Declared as "private"? If a JUnit test method is declared as "private", the compilation will pass ok. But the execution will fail. This is decause JUnit requires that all test methods must be declared as "public". For example: type HelloTestPrivate.java import ...
2008-01-24, 5981👍, 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...
2007-11-20, 5981👍, 0💬

Swing BorderLayout and Contrainer Classes
Name the containers which uses Border Layout as their default layout? Swing container classes which uses BorderLayout as their default are: Window, Frame and Dialog classes.
2007-03-03, 5976👍, 0💬

What is GAC ?
.NET INTERVIEW QUESTIONS - What is GAC ? (What are situations when you register .NET assembly in GAC ?) GAC (Global Assembly Cache) is used where shared .NET assembly reside. GAC is used in the following situations :- * If the application has to be shared among several application. * If the assembly...
2010-03-16, 5969👍, 0💬

Do You Need to Write a Test Class for Every Class That Need to Be Tested?
Do You Need to Write a Test Class for Every Class That Need to Be Tested? This is a simple question. But the answer shows your organization skills. The technical answer is no. There is no need to write one test class for each every class that need to be tested. One test class can contain many tests ...
2008-02-26, 5957👍, 0💬

Relation between HTML and CSS
What Is the Relation between HTML and CSS? CSS (Cascading Style Sheets) is a technical specification that allows HTML document authors to attach formatting style sheets to HTML documents. When HTML documents are viewed as Web pages through Web browsers, the attached style sheets will alter the defau...
2007-03-03, 5956👍, 0💬

Transient Variables
What is a transient variable? A transient variable is a variable that may not be serialized. If you do not want some variables to be serialized, you can mark those variables transient or static.
2007-03-03, 5940👍, 0💬

Serializable Interface
How many methods in the Serializable interface? There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object serialization tools that your class is serializable.
2007-03-03, 5933👍, 0💬

<< < 6 7 8 9 10 11 12 13 14 15 16 > >>   Sort: Date