![]() Related Questions As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we clone an object,its state as well as a its behaviour is copied to the cloned object.My question is what is the neccesity of it? cant we create another object of the same class? so how does its different from cloned object (that is creating another object of that class rather than being cloned).is there any security issues coupled with this cloned object? And What is the Concrete purpose of
What are the restrictions of an applet & how to make the applet access the local machines resources. What are the restrictions of an applet & how to make the applet access the local machines resources. 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 : access modifiers are applicable to class,variable and methods, some of access modifiers are final,static,synchronized,volatile,native,abstract and transient. ... Latest Answer : public, private, protected and default access ... Latest Answer : java.applet.* is a package which contain classes and interfaces whereas java.applet.Applet is a class in that package. ... Latest Answer : They r embedded in html pages and downloaded over internet.r executed in java compatible web-brower,they don't hav main() method..as in applications ... Latest Answer : getDocumentBase() getCodeBase() ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||