Hey guys im in the 10th standard and we do progrmming in school
i have to make a project by the end of this December and thus have to start preparing for it now
please cna u help me think of a program of my level so that i can do the project
i know basic Java till multi dimensional arrays
we will learn buffered reader and String Hadlings
Think of a class that behaves a bit like an array, i.e. you can get() and set() an
element but, you can also resize that 'array', i.e. it can grow and possibly shrink
when needed. hint: System.arraycopy().
When you have that class debugged and working, try to extend it so that you
have another class that only stores unique elements in itself. Try to add more
higher level methods to that class such as intersection(), union(), and other
methods you can come up with.
Add a third class that does the same as the second (or first) class but it keeps
its element in sorted order. Feel free to add more fancy methods to it. Make sure
that all classes can print themselves nicely; hint: the toString() method.
Make a nice bunch of useful classes that you can use in your other projects.
kind regards,
Jos