|
-
Sep 11th, 2005, 11:28 PM
#1
Thread Starter
Junior Member
linked list- JAVA
i was going through my java exercise and here is exercise that i did not get it. let me know if you know anything.
suppose cursor refers to a node in a linked list (using the Node class with instance variables called data and link). What boolean expression will be true when cursor refers to the tail node of the list?
a) (cursor==null)
B) (cursor.link==null)
c) (cursor.data==null)
D) (cursor.data==0.0)
E) none of the above
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|