what is the difference between equals method and ==
Answer Posted / sandeep arora
== checks the reference value, that the reference are of
same object or not.
equals method check two strings are same or not
Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
Is empty in java?
what is mena by object block any what is the use of that
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
Mention some features of java?
How will you serialize a singleton class without violating singleton pattern?
What are data structures in java?
Differentiate between class and structure.
Describe the term diamond problem.
What is string and its types?
What are the advantages of exception handling?
What is the difference between synchronized and synchronized block?
What is widening and narrowing in java? Discuss with an example.
What are predefined functions?
What is difference between string and new string?
What is replacefirst in java?