whats the difference between == and .equal ?

Answer Posted / surendra babu

== refers comparision of values and .eqals refers as
address of the variables.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain super keyword in java.

584


How do you allocate memory to object?

519


Why string objects are immutable in java?

567


Why java is a platform independent? Explain

536


Can we clone singleton object?

564






Is char * a string?

541


Can you declare the main method as final?

527


What does math floor () do?

555


What is the unit of plancks constant?

574


What are byte codes?

659


How to perform binary search in java?

574


What is the static field modifier?

598


How do I print a “?

577


Can we have a method name same as class name in java?

583


How can you set the applet size?

579