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

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, 5923👍, 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, 5921👍, 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, 5919👍, 0💬

How does the race condition occur
How does the race condition occur? It occurs when two or more processes are reading or writing some shared data and the final result depends on who runs precisely when.
2007-11-11, 5918👍, 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, 5917👍, 0💬

What is cross cutting in AOP
What is cross cutting in AOP ? When one or many concerns span across module it is called as cross cutting. Example in our audit trail example we will probably need to audit trail for customer as well as supplier. So Audit trail can span across other objects also that is termed as cross cutting. Belo...
2007-10-24, 5917👍, 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, 5916👍, 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, 5915👍, 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, 5914👍, 0💬

How To Omit Columns with Default Values in INSERT Statement
How To Omit Columns with Default Values in INSERT Statement? - MySQL FAQs - Understanding SQL INSERT, UPDATE and DELETE Statements If you don't want to specify values for columns that have default values, or you want to specify values to columns in an order different than how they are defined, you c...
2007-05-11, 5914👍, 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, 5910👍, 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, 5910👍, 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, 5909👍, 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, 5909👍, 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, 5907👍, 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, 5907👍, 0💬

What Is ISAM
What Is ISAM? - MySQL FAQs - Database Basics and Terminologies ISAM (Indexed Sequential Access Method) was developed by IBM to store and retrieve data on secondary storage systems like tapes.
2007-05-10, 5906👍, 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, 5906👍, 0💬

Is XML case sensitive
Is XML case sensitive? Yes, they are case sensitive.
2007-10-31, 5903👍, 0💬

How To Convert Strings to Upper or Lower Cases
How To Convert Strings to Upper or Lower Cases? - PHP Script Tips - PHP Built-in Functions for Strings Converting strings to upper or lower cases are easy. Just use strtoupper() or strtolower() functions. Here is a PHP script on how to use them: &lt;?php $string = "PHP string functions are easy ...
2007-04-21, 5903👍, 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, 5902👍, 0💬

What are the major differences between services and Web services
What are the major differences between services and Web services?
2007-11-04, 5901👍, 0💬

How can get access to cache object
How can get access to cache object ? The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page object.
2007-10-23, 5900👍, 0💬

What is fundamental of published or precreated objects in Remoting
What is fundamental of published or precreated objects in Remoting ? In scenarios of singleton or single call the objects are created dynamically. But in situations where you want to precreate object and publish it you will use published object scenarios. Dim obj as new objRemote obj.Initvalue = 100...
2007-10-23, 5900👍, 0💬

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