![]() 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 : java archive file. a package of java class files into one compressed portable file. ... Latest Answer : JAR:java archieve file.all class files will be placed in this jar files. ... Latest Answer : To convert java program to .exe file, we have to first complie that java program,which is generated a bytecode in the form of hexadecimal with the extension .class file. Then execute the program. For example suppose the program name is xyz . javaD:>javac ... LET US TAKE A CASE:IF I COMPILED A .JAVA FILE AND I GOT .CLASS FILE,SUPPOSE IF I TAKE .CLASS FILE IN LET US TAKE A CASE:IF I COMPILED A .JAVA FILE AND I GOT .CLASS FILE,SUPPOSE IF I TAKE .CLASS FILE IN A FLOPPY AND TRY TO RUN ON THE OTHER MACHINE,WILL THE SYSTEM REQUIRED JDK OR JRE. OTHER SYSTEM REQUIRED ONLY JDK NOT JRE,JDK IS A PART OF THE JRE(java run time enviornment) 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. View Question | Asked by : kami 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. View Question | Asked by : Shailesh
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||