| Author |
can u help me find a solution to
|
Kiran Mehta
Greenhorn
Joined: Nov 19, 2008
Posts: 3
|
|
Show diagrammatically the address of each memory location of the array and the elements stored in them. char x[ ] = {�A�, �B�, �D�, �H�} char vow[][] = {{ �a�, �e�, �i�, �o�}, {�A�, �E�, �I�, �O�}} What is the difference between equals() and compareTo()
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Kiran, Welcome to JavaRanch! This sounds a lot like a homework question. What do you think the answers are?
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Kiran Mehta
Greenhorn
Joined: Nov 19, 2008
Posts: 3
|
|
|
i found the compare to and equals difference but could not understand how to do the diagram one
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2552
|
|
Please consider making your subject line more descriptive. Read this to know why this is important. You can edit your post to change the subject by clicking the . Here are two hints for you on the problem 1. Array elements are stored in sequential memory locations. 2. vow is an array of arrays.
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
 |
|
|
subject: can u help me find a solution to
|
|
|