aspose file tools*
The moose likes Beginning Java and the fly likes Dynamic Array code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Dynamic Array code

Sumit Suresh Rao
Greenhorn

Joined: Feb 16, 2009
Posts: 13
In an interview I was asked to write a code for dynamic array. Though I managed something I was not sure it was optimal. The following is somewhat similar to what I had attempted. Can someone help me iron out problems, if any, in the following code.

Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8008
    
  22

Sumit Suresh Rao wrote:In an interview I was asked to write a code for dynamic array...

Sumit,

1. Welcome to JavaRanch.
2. Please don't submit duplicate posts. I'm assuming that this was a mistake.

Locking this thread.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
 
 
subject: Dynamic Array code