Stephan van Hulst wrote:because the capacity doubles every time. This logarithm cancels out with the linear cost of copying the elements, and so over many calls to ArrayList.add(), the average time becomes O(1).
Campbell Ritchie wrote:Asif Haciyev, please read this, at the top of this forum:-
We're all here to learn, so when responding to others, please focus on helping them discover their own solutions, instead of simply providing answers.
You are right.I am sorry for that.
Ana Yo wrote:Can you look at the recent code I posted? Idk why it's printing an address instead of the array.
Bob Matthews wrote:I connect to the database in Netbeans by right-clicking on the connection to my database shown under the databases heading
When you click on the 'plus' beside databases you get
and connections e.g. jdbc:derby://localhost:1527/my database