August 3, 1999

What Final Does in Java

When you declare a class as final, it can no longer be subclassed. Java has used this for security purposes with classes like String and Integer. It also allows the

Understanding Interfaces

An interface describes the public methods that a class should implement along with the calling conventions of those methods. An Interface says nothing about implementation of its methods. In essence,

What ‘abstract’ does

When you declare a class as abstract, it cannot be instantiated. Only subclasses of an abstract class can be instantiated if they are not abstract themselves. When you declare a

What ‘synchronized’ does to a method

When you synchronize a method of a class, as in: public synchronized int getAge(){ …} that method will acquire a monitor lock before execution. If the synchronized method is static,

What ‘static’ Does

When you declare a field variable of a class as static, that field variable is instantiated only once, no matter how many instances of the class are created. In other

Persistence and Serialization

Question: What is the best source, print or online, for learning how to implement persistence in C++? I want to save my objects to disk and restore them, and I

Using ADO-Connected Recordsets with MTS

Question: Can I use ADO-connected recordsets with MTS? From the information I can find it seems that MTS does not handle them. Answer: You can, but the question is, do

Blinking Borders in Spy++

Question: How does Spy++ make the borders of a window blink when you select “Highlight” from the right-click menu? I have a MouseProc in the hook chain, so I can