-
-
-
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/
-
-
-
-
-
-
-
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 difference RMI registry and OSAgent ?
Pls let me know
-
-
-
-
-
What is the public static void main(String args[]) & System.out.println()
public: public keyword is an access speciferstatic :allows main to be call without any instance of a timevoid: does not return any valuemain: main() is the method where java Applications beginSting args[] recives command line argumentsSystem: System is predefined class that provides access to the systemout : out is o/p streamprintln():displays the output
-
Java Interview Questions
Ans