![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() 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 Latest Answer : Deadlock can be explained as ------ a1 is used by A b1 is used by B Now without leaving (lock-sychronised) At same time without leaving b1, ... Latest Answer : By can avoid the thread falling into deadlock state by using synchronized keyword. ... 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 Latest Answer : Through the methods Wait(),notify() and notifyall() threads are communicate each others. ... 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 ... I want to fetch the URL address of the Internet Explorer through java program , what ever the user will write in the address of the Internet Explorer should be save into the variable of java program View Question | Asked by : abhishek prakash 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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||