• Post Reply Bookmark Topic Watch Topic
  • New Topic

can u help me find a solution to  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()
 
author & internet detective
Marshal
Posts: 37518
554
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kiran,
Welcome to JavaRanch!

This sounds a lot like a homework question. What do you think the answers are?
 
Kiran Mehta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found the compare to and equals difference but could not understand how to do the diagram one
 
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!