0

how to do the adding of objects in array program using an interactive console/gui
how to do the deleting of objects in array using an interactive console/gui
how to do the updating of objects in array program using an interactive console/gui
how to do the displaying of objects in array program using an interactive console/gui

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by tong1
0

how to do the displaying of objects in array program using an interactive console/gui

If the Object array is ObjectArray where the elements are of various types the following traversal loop may be useful.

for (Object o: ObjectArray)
System.ou.ptinrln(o);

If you are going to add/delete an element into/from an Object array you have to create a new Object array object because of the change in the array' attribute: length.

Please provide specification in detail for this assignment, and also the code you have done so far.

Also see the Thread
http://www.daniweb.com/forums/thread307073.html

Edited by tong1: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.