whats the difference between == and .equal ?
Answer Posted / tarun
equals() method compare the character inside the string object
== operator compare two object reference to see whether they
refer same instance
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
How do you print array in java?
Explain the difference between call by refrence and call by value?
can I implement my own start() method? : Java thread
Difference between a class and an object?
What is busy spin, and why should you use it?
How to reverse a string in java?
What is meant by collection in java?
How many types of flags are there?
What is dot operator?
What are the parts of methodology?
Can we write any code after throw statement?
Is array passed by reference in java?
Write a java program to generate fibonacci series ?
How to display all the prime numbers between 1 and 100
What is the purpose of the finally clause of a try-catch-finally statement in java programming?