<< < 22 23 24 25 26 27 28 29 30 31 32 > >>   Sort: Date

Using ServletOutputStream Object in JSP Pages
Can you make use of a ServletOutputStream object from within a JSP page? No. You are supposed to make use of only a JSPWriter object (given to you in the form of the implicit object out) for replying to clients. A JSPWriter can be viewed as a buffered version of the stream object returned by respons...
2007-04-03, 5943👍, 0💬

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

What is the difference between Factory and Abstract Factory Patterns
What is the difference between Factory and Abstract Factory Patterns? Note: - This is quiet a confusing architect question especially in design pattern section. Interviewer can take you for a nice ride. So get the difference in your heart. First read the definition provided in the first question abo...
2007-10-24, 5941👍, 0💬

Do session use cookies
How can we make session to not to use cookies ? Left to the user, you will enjoy to find this answer.
2007-10-24, 5941👍, 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, 5938👍, 0💬

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

How Does MySQL Handle Read Consistency
How Does MySQL Handle Read Consistency? - MySQL FAQs - Transaction Management: Commit or Rollback Read consistency is a concept that describes how consistent the output will be on two subsequent read operations. A read operation is usually a stand alone SELECT statement or a SELECT subquery in a par...
2007-05-11, 5936👍, 0💬

Can you explain how End points, Contract, Address and Bindings are done in WCF
Can you explain how End points, Contract, Address and Bindings are done in WCF?
2007-11-04, 5934👍, 0💬

In What scenarios will you use a DOM parser and SAX parser
In What scenarios will you use a DOM parser and SAX parser? If you do not need all the data from the XML file then SAX approach is much preferred than DOM as DOM can quiet memory intensive. In short if you need large portion of the XML document its better to have DOM. With SAX parser you have to wri...
2007-10-31, 5934👍, 0💬

Name the seven layers of the OSI Model and describe them briefly
Name the seven layers of the OSI Model and describe them briefly Physical Layer - covers the physical interface between devices and the rules by which bits are passed from one to another. Data Link Layer - attempts o make the physical link reliable and provides the means to activate, maintain, and d...
2007-11-11, 5933👍, 0💬

How Long a Transaction Will Wait for a Data Lock
How Long a Transaction Will Wait for a Data Lock? - MySQL FAQs - Transaction Management: Commit or Rollback If you issue a UPDATE or DELETE statement on a row that has an exclusive lock owned by another session, your statement will be blocked to wait for the other session to release the lock. But th...
2007-05-11, 5930👍, 0💬

What is ArrayList
What is ArrayList ? Array is whose size can increase and decrease dynamically. Array list can hold item of different types. As Array list can increase and decrease size dynamically you do not have to use the REDIM keyword. You can access any item in array using the INDEX value of the array position.
2007-10-23, 5929👍, 0💬

What Is a Procedure
What Is a Procedure? - Oracle DBA FAQ - Understanding PL/SQL Language Basics A procedure is a named program unit. It consists of three parts: Declaration Part - Defining the procedure name, calling parameters, local variables and local procedures. Declaration part is required. Execution Part - Defin...
2007-04-30, 5929👍, 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, 5924👍, 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, 5922👍, 0💬

How To Use DIV Elements to Change CSS Properties
How To Use DIV Elements to Change CSS Properties? - XHTML 1.0 Tutorials - Understanding DIV and SPAN elements As elements containers, "div" elements are perfect places to set CSS properties which will be applied to all elements in the container. Here is a tutorial example of how to set CSS propertie...
2007-05-12, 5922👍, 0💬

What Is the Scope of a Local Variable
What Is the Scope of a Local Variable? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions The scope of a variable can be described with these rules: A variable is valid within the procedure or function where it is defined. A variable is also valid inside a sub procedure or function...
2007-04-21, 5921👍, 0💬

How To Create a Table for Transaction Testing
How To Create a Table for Transaction Testing? - MySQL FAQs - Transaction Management: Commit or Rollback If you want to learn transaction management, you should create a table with the InnoDB storage engine. The default storage engine MyISAM does not support the transaction concept. The tutorial exe...
2007-05-11, 5920👍, 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, 5919👍, 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, 5913👍, 0💬

What Are the "mysql" Command Line Arguments
What Are the "mysql" Command Line Arguments? - MySQL FAQs - Command-Line End User Interface mysql "mysql" supports only one optional command line argument, "database". But "mysql" allows the operating system to redirect input and output streams at the command line level. Here are some good examples:...
2007-05-10, 5913👍, 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, 5913👍, 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, 5912👍, 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, 5912👍, 0💬

<< < 22 23 24 25 26 27 28 29 30 31 32 > >>   Sort: Date