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 : No it won't work.Only one main methods is allowed ...
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 : 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 : In singleton class ,only one time the instance wil create.Example....public class Sin{ static Sin s=null; public static void main(String a[]) { create(); create(); ...
Latest Answer : Below are three signatures:public final void notify()public final void notifyAll()public final void wait(long timeout) ...
Latest Answer : A Java Bean is a reusable software component that can be visually manipulated in builder tools. To understand the precise meaning of this definition of a Bean, clarification is required for the following terms: 1. Software component: Reusable ...
Latest Answer : yes ...
Latest Answer : Initially it didnt as java uses "extends" word for inheritance but it didnt allow us to extend more then one class.So the concept of "interface" came which is like abstrct class but with strictness that methods will only be declared at that place & have ...
Latest Answer : JasperReports is a powerful open source Java reporting tool that has the ability to deliver rich content onto the screen, to the printer or into PDF, HTML, XLS, CSV and XML files.Check this link out http://java-source.net/open-source/charting-and-reporting/jasperreports ...