Tip Bank

DevX - Software Development Resource

Using a Function Call as an Lvalue

An Lvalue is an expression that can appear on the left-hand side of an equals sign. Likewise, an Rvalue expression appears on the right-hand side of the equals sign. Therefore

DevX - Software Development Resource

View the Bytecode Contained in a Java Class

If you look in the bin directory of a regular Java2 SDK installation, you’ll find a ‘javap’ application (javap.exe), which you can use as a disassembler by adding the -c

DevX - Software Development Resource

Classloader Diffculties with JBoss

When you deploy two Web applications as Web archives (WARs) into JBoss’ deploy folder, you expect them to run independently of each other. But this does not happen. WebApp1.war +

DevX - Software Development Resource

Initializing a TextBox

There are two ways to initialize a TextBox whose TextMode is “password” with a default password:

DevX - Software Development Resource

Arrays as Pointers in C++

In C++, arrays and pointers are inextricably linked. The elements of an array are stored in consecutive memory addresses on the computer and the name of the array is equivalent

DevX - Software Development Resource

Dynamic <div> Tags

Use JavaScript to make a tag dynamically and then adds code to handle the onmouseclick event to it.”: /*The following code generates a div in javascript dynamically and add events

DevX - Software Development Resource

Achieving IIF Functionality in T-SQL

The syntax for the IIF command in T-SQL is: select case when then when then ….else endfrom In the following example, the bit data type will store either 0 or