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
Latest Answer : In c,there are argc and argv.argc is passed to argv and argv is used to store characters.in java there is only args.we pass a String value to it. ...
Latest Answer : CASE1: String s3 = "hi"; String s="hi"; String s2=s3; ...
Latest Answer : Abstract class can have instance variable, static variable, constructor, abstract methods, concrete methods, instance blocks and static blocks.Subclass has to extend abstract class using extend keyword. ...
Latest Answer : What is the difference between servlet container & servlet component? ...
Latest Answer : UNICAST is 1-1. MULTICAST is 1-M. ...
Latest Answer : AWT components are heavy weight. Swing components are light weight follows MVC architecture ...
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 : Interface: In interface just signature of the methods are defined(means abstract meathod). there is no a single method which has body.e.g. void add();Abstract class: In a abstract class some method are abstract while some are concrete methods. we use ...
Latest Answer : Public : this is lowest restircted modifier, publicly declared object can be usable at any place in ur application even in different packageProtected : that can be used anywhere in the application but in same packagePrivate : that is highly restricted ...