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

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, 6146👍, 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, 6138👍, 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, 6136👍, 0💬

How can we force the connection object to close after my datareader is closed
How can we force the connection object to close after my datareader is closed ? Command method Executereader takes a parameter called as CommandBehavior where in we can specify saying close connection automatically after the Datareader is close. pobjDataReader = pobjCommand.ExecuteReader(Comm andBeha...
2007-10-24, 6135👍, 0💬

What is Dispose method in .NET
What is Dispose method in .NET ? .NET provides “Finalize” method in which we can clean up our resources. But relying on this is not always good so the best is to implement “Idisposable” interface and implement the “Dispose” method where you can put your clean up routines.
2007-10-23, 6134👍, 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, 6133👍, 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, 6130👍, 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, 6130👍, 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, 6129👍, 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, 6128👍, 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, 6128👍, 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, 6127👍, 0💬

What is DMAIC and DMADV
What is DMAIC and DMADV ? Six Sigma has two key methodologies DMAIC and DMADV. DMAIC is used to improve an existing business process. DMADV is used to create new product designs or process designs in such a way that it results in a more predictable, mature and defect free performance. DMAIC Basic me...
2007-10-30, 6127👍, 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, 6125👍, 0💬

What Is CSS (Cascading Style Sheets)
What Is CSS (Cascading Style Sheets)? - CSS Tutorials - Introduction To CSS Basics 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 at...
2007-05-11, 6125👍, 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, 6124👍, 0💬

What is a CLR?
What is a CLR? Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtua...
2007-10-22, 6124👍, 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, 6121👍, 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, 6118👍, 0💬

How Can We Know state of thread?
How Can We Know state of thread? "ThreadState" property can be used to get detail of a thread. Thread can have one or a combination of status.System.Threading. Threadstate enumeration has all the values to detect a state of thread. Some sample states are Isrunning, IsAlive, suspended etc.
2009-03-06, 6114👍, 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, 6114👍, 0💬

How To Convert Dates to Character Strings
How To Convert Dates to Character Strings? - MySQL FAQs - Introduction to SQL Date and Time Handling You can convert dates to character strings using the DATE_FORMAT(date, format) function. MySQL supports the following basic formatting codes: %a Abbreviated weekday name (Sun..Sat) %b Abbreviated mon...
2007-05-11, 6111👍, 0💬

How To Quote Text Values in SQL Statements
How To Quote Text Values in SQL Statements? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts Text values in SQL statements should be quoted with single quotes ('). If the text value contains a single quote ('), it should be protected by replacing it with two single quotes (''). In...
2007-05-11, 6111👍, 0💬

How To Count Groups Returned with the GROUP BY Clause
How To Count Groups Returned with the GROUP BY Clause? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If you use the COUNT(*) function on groups returned with the GROUP BY clause, it will count the number of rows within each group, not the number of groups. If you want to count the nu...
2007-05-11, 6109👍, 0💬

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