Where can i get Latest SUN Certification Dumps and what are
the Sun Certification Codes that are available, Im new to
JAVA, so please gimme info as i need to write J2EE - Core Java
Certification
No Answer is Posted For this Question
Be the First to Post Answer
If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?
What is an immutable class?
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?
Difference between flush() and commit() in hibernate?
What is toarray method in java?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
Why set do not allow duplicates in java?
How is java hashmap implemented?
Difference between string s= new string (); and string s = "abv";?
how to run ecllipse with jettyserver for windows environment using batch file
What is Session and cookies?Explain in detail with an example?
What is finally in exception handling?