To avoid ambiguity, the indirect base class is made ,virtual base class, to define base class as virtual. When we define virtual base class, compiler take care that only one copy of that class inherited, regardless of how many inherited path exist between the virtual base class and derived class.
An applet is a special kind of Java program that is designed to be transmitted over the Internet and automatically executed by a Java-compatible web browser. Furthermore, an applet is downloaded on demand, without further interaction with the user. If the user clicks a link that contains an applet, the applet will be automatically downloaded and run in the browser. Applets are intended to be small programs. They are typically used to display data provided by the server, handle user input, or provide simple functions, such as a loan calculator, that execute locally, rather than on the server. In essence, the applet allows some functionality to be moved from the server to the client.
Comments
Post a Comment