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 : 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 ...
Latest Answer : public class AAA {private String str;public void setStr(String mm) { this.str=mm;}public String get Str() {return this.str;}}This is basic lavel of creating java bean.ThanksPraveen. ...
Latest Answer : process means a program under execution.a thread under execution is called program i.e program can be divided into multiple threads. ...
Considering notepad/IE or any other thing as process, What will Happen if you start notepad or IE 3 times ? Where 3 processes are started or 3 threads are started
Suppose If we have variable ' I ' in run method, If I can create one or More thread each thread will occupy a separate copy or same variable will be shared
Latest Answer : 2 ways to create a thread1) by extending the thread class2)by implementing RUNNABLE interface ...
Latest Answer : Through the methods Wait(),notify() and notifyall() threads are communicate each others. ...
Latest Answer : Here is the snap shot of the working solution to the said question..try{System.out.println("class name is "+class_name);Class cls=Class.forName(class_name);Constructor[] ctorlist=cls.getConstructors();/**temporary remove the sysout statement***//** ...