<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Date

Where do you specify session state mode in ASP.NET ?
.NET INTERVIEW QUESTIONS - Where do you specify session state mode in ASP.NET ? The following code explains about specifying session state mode in ASP.NET. &lt;sessionState mode=”SQLServer” stateConnectionString=”tcpip=1 92.168.1.1:42424"sqlConnectionString=”data source=192.168.1.1; Integrated ...
2009-06-16, 7100👍, 0💬

How To Compile a JUnit Test Class
How To Compile a JUnit Test Class? Compiling a JUnit test class is like compiling any other Java classes. The only thing you need watch out is that the JUnit JAR file must be included in the classpath. For example, to compile the test class HelloTest.java described previously, you should do this: ja...
2008-01-11, 7072👍, 0💬

What CLASSPATH Settings Are Needed to Run JUnit
What CLASSPATH Settings Are Needed to Run JUnit? It doesn't matter if you run your JUnit tests from a command line, from an IDE, or from "ant", you must define your CLASSPATH settings correctly. Here is what recommended by the JUnit FAQ with some minor changes: To run your JUnit tests, you'll need t...
2008-01-15, 7036👍, 0💬

What Tools to Use to View HTML Documents
What Tools to Use to View HTML Documents? The basic tool you need to view HTML documents is any Web browser, like Internet Explorer (IE) or FireFox. The following tutorial shows you how to view a HTML document with : Write a HTML document and save it as hello.html. Run IE and select the File &gt...
2007-03-03, 7014👍, 0💬

Locking Objects for Exclusive Use
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by putting it in a "synchronized" block. The locked object is inaccessible to any thread other than the one that explicitly claimed it.
2007-03-03, 7008👍, 0💬

Did VB6 support multi-threading ?
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-threaded apartments, it does not support a freethreading model, which allows multiple threads to run against the same set of data.
2009-11-03, 7006👍, 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, 6995👍, 0💬

What is ISO?
What is ISO? ISO 9000 is a family of standards for quality management systems. ISO 9000 is maintained by ISO, the International Organization for Standardization and is administered by accreditation and certification bodies. Some of the requirements in ISO 9001 (which is one of the standards in the I...
2008-04-14, 6983👍, 0💬

What are types of compatibility in VB6?
.NET INTERVIEW QUESTIONS - What are types of compatibility in VB6? There are three possible project compatibility settings: * No Compatibility * Project Compatibility * Binary Compatibility No Compatibility With this setting, new class ID’s, new interface ID’s and a new type library ID will be gener...
2010-01-26, 6978👍, 0💬

Using Tables to Structure Forms
How can I use tables to structure forms Small forms are sometimes placed within a TD element within a table. This can be a useful for positioning a form relative to other content, but it doesn't help position the form-related elements relative to each other. To position form-related elements relativ...
2007-03-03, 6978👍, 0💬

J2SDK 1.5 and J2SDK 5.0
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just re-branded this version.
2007-03-03, 6962👍, 0💬

What is PMP(project management plan)?
What is PMP(project management plan)? The project management plan is a document that describes the project management system used by a project team. The objective of a project management plan is do define the approach to be used by the Project team to deliver the intended project management scope of...
2008-04-14, 6960👍, 0💬

mysql_fetch_object() and mysql_fetch_array() Functions
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_fetch_object() fetches the current row of data from the query result associated with the specified result identifier. The row is returned as an object. See the example code: &lt;?php $result = mys...
2007-02-27, 6940👍, 0💬

Clone of Map Objects
Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a change to the map. He decided to make a clone of the map in order to save the original data on side. What do you think of it? If Jack made a clone of the map, any changes to the clone or the original map w...
2007-03-03, 6931👍, 0💬

Shift Operators
What will be printed as the result of the operation below: main() { int x=5; printf("%d,%d,%d\n",x,x&lt ;&lt;2,x&gt;&gt;2) ;} As x = 5 = 0x0000,0101; so x &lt;&lt; 2 -&lt; 0x0001,0100 = 20; x &gt;&gt; 2 -&gt; 0x0000,0001 = 1. Therefore, the answer is 5, 20, 1.
2007-02-26, 6926👍, 0💬

"const" and "volatile"
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot change the value of the variable, but that does not mean that the value cannot be changed by means outside this code. For instance, a timer structure can be accessed through a volatile const pointer. The f...
2007-02-26, 6894👍, 0💬

How is the MVC design pattern used in Struts framework
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 components involved: Controller - Servlet controller which supplied by Struts itself. View - what you can see on the screen, a JSP page and presentation components. Model - System state and a business logic Ja...
2007-11-27, 6870👍, 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, 6844👍, 0💬

How do I install JUnit? First I will download the lastest version of JUnit.
How do I install JUnit? First I will download the lastest version of JUnit. Then I will extract all files from the downloaded file. The most important file should be the JUnit JAR file: junit-4.4.jar, which contains all JUnit class packages. To verify junit-4.4.jar, I will run the org.junit.runner.J...
2008-01-09, 6841👍, 0💬

Well-Written Object Oriented Programs
What does a well-written Object Oriented program look like? A well-written object oriented program exhibits recurring structures that promote abstraction, flexibility, modularity and elegance.
2007-03-03, 6826👍, 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, 6813👍, 0💬

How to set a HTML document's background color?
How to set a HTML document's background color? document.bgcolor property can be set to any appropriate color.
2008-05-27, 6800👍, 0💬

Where are cookies actually stored on the hard disk?
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In the case of Netscape with Windows, all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\ cookies.txtIn the case of IE, each cookie is stored in a separ...
2008-05-20, 6791👍, 0💬

How Do I Run JUnit Tests from Command Window
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to check the following list: 1. Make sure that JDK is installed and the "java" command program is accessible through the PATH setting. Type "java -version" at the command prompt, you should see the JVM r...
2008-01-17, 6790👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Date