






Make Your Program Both an Applet and an Application
Sometimes it’s convenient to have your program be runnable both as an applet and as an application. One simple way of accomplishing this derives from the fact that any class
Sometimes it’s convenient to have your program be runnable both as an applet and as an application. One simple way of accomplishing this derives from the fact that any class
The program is used to display the current and parent directory. ‘.’represents the current directory and ‘..’ represents the parent directory import java.io.File; public class CurrentDir { public static void
It is said that C++ provides data hiding, but the following code shows that this is not always true. You can break the C++s data-hiding facility using the memory function:
There is no TSQL function for extracting maximum values across columns. However, you can use MAX() and MIN() functions to obtain the maximum or minimum value in any particular row.
The following piece of code is a sample example that can print a HTML page without showing the print-popup dialog box. NOTE: It is restricted with IE 5.5 SP2 onwards.