Overriding Default Object Serialization
Normally, all that is required to perform serialization of an object is to implement the java.io.Serializable interface. However, in some cases, you may wish to control how an object is
Normally, all that is required to perform serialization of an object is to implement the java.io.Serializable interface. However, in some cases, you may wish to control how an object is
Class std::string provides two member functions that return the const char * representation of its object: string::c_str() and string::data(). c_str() returns a null-terminated const pointer to char that represents the
The java.lang.reflect defines a Method class that may be used to get information about a method in a Java class. Some of the main methods are: public native int getModifiers();
The TreeView control reports its current node–the selected node–only in its NodeClick event’s Node parameter. If you need to access the Node’s properties–such as Key or Text–outside this event, you
It is implementation-defined whether identical string literals are treated as distinct objects. Consider this code snippet: extern const char msg1[] = “hello”;extern const char msg2[] = “hello”;int main(){ bool eq
You can easily write JavaScript routines to validate form items before the form is submitted. Just define a form tag with a name and an action. The key is to
There’s a handy shortcut in Visual InterDev 6 that saves you from typing in the function code around an event. While you are in VID’s Source view, click the Script
The named return value is an automatic optimization that a compiler applies in order to eliminate the construction and destruction of a temporary object. When a temporary object is copied
If you’re issuing SELECT statements to a database using Java Database Connectivity (JDBC), a huge number of records can be returned by the java.sql.ResultSet. However, sometimes you will want to