<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Date

What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM?
What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM? CALL_FORM: start a new form and pass control to it. The parent form will be suspended until the called form is terminated. user can not navigate to parent form until child form is open. NEW_FORM: terminate the current form and replace...
2011-03-29, 6356👍, 0💬

Runable Interface and Thread
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class? Strategically speaking, threads created by implementing Runnable interface are more advisable. If you create a thread by extending a thread class, you cannot extend any other class. If you c...
2007-03-03, 6356👍, 0💬

Conditional Statements
What will be printed as the result of the operation below: main() { int a=0; if (a==0) printf("Cisco Systems\n"); printf("Cisco Systems\n"); } Answer: Two lines with "Cisco Systems" will be printed.
2007-02-26, 6351👍, 0💬

What Happens If One Row Has Missing Columns
What Happens If One Row Has Missing Columns? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells What happens if one row has missing columns? Most browsers will provide empty columns to the end of the row to make up the missing columns. For example, if your XHTML document has a table with t...
2007-05-11, 6350👍, 0💬

equals() - String Comparison
What would you use to compare two String variables - the operator == or the method equals()? You can use operator == and method equals() for different types of comparisons: Using operator == to compare two string variables to see if they point the same String object. Using equals() to compare two st...
2007-03-03, 6344👍, 0💬

How To Test Transaction Isolation Levels
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback If you want to test transaction isolation levels, you need to make sure that: The tables are created with transaction-safe storage engines, like InnoDB. Multiple-statement transactions are started wit...
2007-05-09, 6342👍, 0💬

Invoking run() Method of a Thread
What invokes a thread's run() method? After a thread is started, via its start() method of the Thread class, the JVM invokes the thread's run() method when the thread is initially executed.
2007-03-03, 6342👍, 0💬

How Are Vertical Margins between Two Block Elements Collapsed
How Are Vertical Margins between Two Block Elements Collapsed? - CSS Tutorials - Understanding Multiple Element Formatting Rules The margins between two block elements will be collapsed into one margin. The taller margin stays. And the shorter margin disappears. The tutorial HTML and CSS document be...
2007-05-11, 6341👍, 0💬

Using Pointers
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20); while(*p2++ = *p1++); printf(“%s\n”,p2);> } The pointer p2 value is also increasing with p1 . *p2++ = *p1++ means copy value of *p1 to *p2 , then increment both addresses (p...
2007-02-26, 6338👍, 0💬

How can we connect to Microsoft Access , Foxpro , Oracle etc
How can we connect to Microsoft Access , Foxpro , Oracle etc ? Microsoft provides System.Data.OleDb namespace to communicate with databases like scess , Oracle etc. In short any OLE DB-Compliant database can be connected using System.Data.OldDb namespace. Note :- Small sample of OLEDB is provided in...
2007-10-24, 6328👍, 0💬

Explain all parts of a deployment diagram
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node: A physical system which represents a processing resource, example PC or a host machine. Component: It’s the actual implementation or physical module of a UML system. Node instance: It’s a runtime ph...
2007-10-26, 6327👍, 0💬

Strings vs. Character Arrays
What is the difference between strings and character arrays? A major difference is: string will have static storage duration, whereas as a character array will not, unless it is explicity specified by using the static keyword. Actually, a string is a character array with following properties: * the ...
2007-02-26, 6325👍, 0💬

Variables in Double Quoted Strings
Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example? In this example, "$a dollars" or "{$a} dollars" will print the same result. But in other cases, you need to use curly braces to protect variable names. For example, for following PHP script will prin...
2007-02-27, 6324👍, 0💬

What is the difference between delegate and events
What is the difference between delegate and events? ã Actually events use delegates in bottom. But they add an extra layer on the delegates, thus forming the publisher and subscriber model. ã As delegates are function to pointers they can move across any clients. So any of the clients can add or ...
2007-10-23, 6321👍, 0💬

Infinite Loops
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... } while(true) { ... }
2007-03-03, 6308👍, 0💬

What Happens If the UPDATE Subquery Returns Multiple Rows
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML Statements If a subquery is used in a UPDATE statement, it must return exactly one row for each row in the update table that matches the WHERE clause. If it returns multiple rows, Oracle server will g...
2007-04-21, 6296👍, 0💬

Number of Days between Two Dates
How can we know the number of days between two given dates in PHP? Simple arithmetic: &lt;?php $date1 = date('Y-m-d'); $date2 = '2006-07-01'; $days = (strtotime($date1) - strtotime($date2)) / (60 * 60 * 24); $days = (int) $days; echo "Number of days since '2006-07-01': $days"; ?&gt;
2007-02-27, 6295👍, 0💬

How To Select Some Rows from a Table
How To Select Some Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY If you don't want select all rows from a table, you can specify a WHERE clause to tell the query to return only the rows that meets the condition defined in the WHERE clause. The WHERE clause condition is ...
2007-05-11, 6289👍, 0💬

Pointer to Constants
What is the difference between const char* p and char const* p? In const char* p, the character pointed by "p" is constant, so you can not change the value of character pointed by p but u can make "p" refer to some other location. In char const* p, the pointer "p" is constant not the character refer...
2007-02-26, 6289👍, 0💬

Can you prevent a class from overriding
Can you prevent a class from overriding ? If you define a class as “Sealed” in C# and “NotInheritable” in VB.NET you can not inherit the class any further.
2007-10-23, 6286👍, 0💬

What is XSLT
What is XSLT? XSLT is a rule based language used to transform XML documents in to other file formats. XSLT are nothing but generic transformation rules which can be applied to transform XML document to HTML, CS, Rich text etc. You can see in the above figure how the XSLT processor takes the XML file...
2007-10-31, 6284👍, 0💬

Overriding Defined Macros
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (override) a previously defined macro.
2007-02-26, 6282👍, 0💬

How To Select All Columns of All Rows from a Table
How To Select All Columns of All Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY The simplest query statement is the one that selects all columns of all rows from a single table: "SELECT * FROM tableName;". The (*) in the SELECT clause tells the query to return all column...
2007-05-11, 6274👍, 0💬

Do You Know the Book "JUnit in Action"
Do You Know the Book "JUnit in Action"? You should know this book. It received some good reviews. Title: JUnit in Action Publisher: Manning Publications (October 1, 2003) Author: Vincent Massol, Ted Husted Abstract: A guide to unit testing Java applications (including J2EE applications) using the JU...
2008-01-07, 6263👍, 0💬

<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Date