-
What is difference RMI registry and OSAgent ?
Pls let me know
-
-
-
-
String s2="shailesh";
System.out.println(s1.equals(s2));
System.out.println(s1==s2);">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.
-
-
-
-
-
-
What is the latest version of java?
the latest version of java called as Tiger for further details check this site..http://master-in-java.blogspot.com/
-
-
-
-
-
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)
-
What is Single-ton Pattern?,How can u follow this pattern? I read servlet container follows the single-ton pattern? what it means..so can any one expain it?
I read servlet container follows the single-ton pattern
-
-
-
Java Interview Questions
Ans