Latest Answer : No it won't work.Only one main methods is allowed ...
What are the restrictions of an applet & how to make the applet access the local machines resources.
Latest Answer : We need not call the finalize() method directly. The method is called automatically by the garbage collector when it determines no more references to the object exist. But when we need to clean-up non-Java resources ie closing a file, we need ...
Latest Answer : Apart from init,start,stop and destroy the Applet class has the following methods:1. public void paint(Graphics)2. public void repaint3. public void update(Graphics)4. public void showStatus(String)5. public String getParameter(String) ...
Latest Answer : yes, we can communicate between 2 applets by using its appletContext() methods. ...
Latest Answer : Trusted Applet : A trusted applet can perform operations such as reading, writing data to a local computer.We can access n/w connections from any host on the n/w by using trusted applet. A trusted applet ...
Latest Answer : Finally method is executed whether the exception is raised or not and normally used to close the resource that are opened in the before. ...
Latest Answer : Its a common mistake to assume that overloading is a kind of polymorphism in OOPS..But its actually not..However the definition is the same.. an entity existing in different forms is called polymorphism..in Java, polymorphism is achieved with super class ...
Latest Answer : Method Overriding means methods having the same method name,same number of arguements or same type of arguements.Here we use super() method to pass the arguements to the methods in the baseclass. ...
Latest Answer : method represents the behaviour of an object ...