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.
Latest Answer : Applets are executed within a web browser, and there's an easy way to load show a specific URL. 1. Get a reference to the applet context 2. Call the showDocument method with a URL object as parameter. The following code snippet shows you how this can ...
In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that
Using Java Reflection how can i call a method which i specify in a JSP page.i mean if i have 3 methods in my java class when i specify one of my method name in Jsp page in a textbox when i submit the page that particular method has to be called using java Reflection
Please anybody tell me that how to make GUI using Jgraph and also just need to use target library SWING, for Jbutton, Jpannel, Jtextfield it also can change the propeties, Like height , color , width, it also can save and open as well. Please help me with this. it not need to be the big GUI desginer it need to be fairly simeple. Thankx, its urgent.
Tell me o/p of the mentioned code fragment.String s1 = "shailesh";String s2="shailesh";System.out.println(s1.equals(s2));System.out.println(s1==s2);
Answer is truetrueEvery time we make any string constant same memory referenced will be assigned if the string constant is same. That's why both obj. s1 and s2 refer to same memory.
Can give answer to the folloing questionQuestion 2You are in charge of implementing a Grand Prix Car Racing Results system for a sports magazine, to be used for entering and processing data concerning each Formula 1 Grand Prix that has been run in the season.As you know, each driver is part of the team, and has a number. At the end of each race, the driver who arrived first is assigned 9 points, and the following five drivers receive 6,4,3,2 and 1 point each. Drivers who come in after the sixth