Computing.Net > Forums > Programming > new to java

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

new to java

Reply to Message Icon

Name: tennis_girl
Date: February 1, 2009 at 20:59:44 Pacific
OS: Linux i686
Subcategory: Java
Comment:

I have a question. if we're making array of objects and we want to have 3 constructors let's call it, what would we put in each constructor?
MyArray ()
MyArray (int initCapacity)
MyArray (Object[] a)

also what would my data members be?



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How to fix regedit home p... Script to change values l...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: new to java

New to java www.computing.net/answers/programming/new-to-java/15147.html

New to Java.... www.computing.net/answers/programming/new-to-java/12983.html

writing data to file in java www.computing.net/answers/programming/writing-data-to-file-in-java/14129.html