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
Differentiate between == and equals().
Who found java?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is the purpose of file class?
How many ways can you break a singleton class in java?
What is visibility mode?
What are the three types of design patterns?
What is the benefit of inner / nested classes ?
Explain the pointers in Java?
What is the default value of local and global variables?
How do you declare a destructor in java?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
how we can make a read-only class in java?
What is a substring of a string?
Can you declare a private method as static?