Tags:JAVA Questions | 176 views
Do I need to import java.lang package any time? Why?Or Which package is always imported by default? No. It is by default loaded internally by the JVM. The java.lang package is always imported by default. Can I import same package/class twice? Will the JVM load the package twice at runtime? One can import the same [...]
Tags:Unix/Linux Questions | 163 views
On a fresh install, why does Apache have three config files – srm.conf, access.conf and httpd.conf? – The first two are remnants from the NCSA times, and generally you should be ok if you delete the first two, and stick with httpd.conf. What’s the command to stop Apache? – kill the specific process that httpd [...]
Tags:JAVA Questions | 147 views
What is an Applet? Should applets have constructors? – Applets are small programs transferred through Internet, automatically installed and run as part of web-browser. Applets implements functionality of a client. Applet is a dynamic and interactive program that runs inside a Web page displayed by a Java-capable browser. We don’t have the concept of Constructors [...]
Tags:General Question | 196 views
What is meant by Controls and what are different types of controls? – Controls are componenets that allow a user to interact with your application. The AWT supports the following types of controls: Labels Push buttons Check boxes Choice lists Lists Scroll bars Text components These controls are subclasses of Component. Which method of the [...]