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

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

How to implement DTC in .NET
How to implement DTC in .NET ? DTC is implemented using COM+. Following are the steps to implement COM + in .NET :- ã gEnterpriseServiceh namespace has all the classes by which we can implement DTC in .NET. You have to add reference gEnterpriseServiceh namespace. omits it all together, then w...
2007-10-22, 5776👍, 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, 5775👍, 0💬

How To End the Current Transaction
How To End the Current Transaction? - MySQL FAQs - Transaction Management: Commit or Rollback There are several ways the current transaction can be ended implicitly or explicitly: In "Autocommit On" mode, a single-statement transaction will be ended implicitly when the execution of the statement end...
2007-05-11, 5775👍, 0💬

How To Protect Special Characters in Query String
How To Protect Special Characters in Query String? - PHP Script Tips - Processing Web Forms If you want to include special characters like spaces in the query string, you need to protect them by applying the urlencode() translation function. The script below shows how to use urlencode(): &lt;?ph...
2007-04-22, 5771👍, 0💬

Give a small brief explanation of all Elements in activity diagrams
Give a small brief explanation of all Elements in activity diagrams? Action State : It is a type of state that has an internal action and one outgoing event that would complete the internal action. State : It is a condition when following events occur: Object satisfies a condition. performs a action...
2007-10-26, 5768👍, 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, 5767👍, 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, 5767👍, 0💬

How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. The syntax is as follows:- &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="stat...
2009-05-19, 5766👍, 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, 5765👍, 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, 5764👍, 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, 5762👍, 0💬

What is Operator Overloading in .NET
What is Operator Overloading in .NET? It provides a way to define and use operators such as +, -, and / for user-defined classes or structs. It allows us to define/redefine the way operators work with our classes and structs. This allows programmers to make their custom types look and feel like simp...
2007-10-23, 5762👍, 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, 5761👍, 0💬

How To Define a Bookmark
How To Define a Bookmark? - XHTML 1.0 Tutorials - Understanding Hyper Links and URLs A bookmark is a named reference point in a XHTML document. If a bookmark can be included in the URL that represents this document, the browser will automatically move the display window to the reference point as soo...
2007-05-12, 5760👍, 0💬

What is the difference between System.String and System.StringBuilder classes
What is the difference between System.String and System.StringBuilder classes? System.String is immutable; System.StringBuilder can have mutable string where a variety of operations can be performed.
2007-10-23, 5759👍, 0💬

What Are the Logical Operations
What Are the Logical Operations? - Oracle DBA FAQ - Understanding PL/SQL Language Basics PL/SQL supports 3 logical operations as shown in the following sample script: PROCEDURE proc_comparison AS x BOOLEAN := TRUE; y BOOLEAN := FALSE; res BOOLEAN; BEGIN res = x AND y; res = x OR y; res = NOT x; -- m...
2007-04-30, 5759👍, 0💬

What are wait handles ?
.NET INTERVIEW QUESTIONS - What are wait handles ?(What is a mutex object ?) Wait handles sends signals of a thread status from one thread to other thread. There are three kind of wait modes :- * WaitOne. * WaitAny. * WaitAll. When a thread wants to release a Wait handle it can call Set method. You ...
2009-12-22, 5758👍, 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, 5757👍, 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, 5757👍, 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, 5756👍, 0💬

What is DBCC
What is DBCC? DBCC (Database Consistency Checker Commands) is used to check logical and physical consistency of database structure.DBCC statements can fix and detect problems.They are grouped in to four categories Maintenance commands like DBCC DBREINDEX , DBCC DBREPAR etc , they are mainly used for...
2007-10-25, 5755👍, 0💬

Externalizable Interface: readExternal() and readExternal()
How many methods in the Externalizable interface? There are two methods in the Externalizable interface. You have to implement these two methods in order to make your class externalizable. These two methods are readExternal() and readExternal().
2007-03-03, 5754👍, 0💬

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