Amateur

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prerakmody
    New Member
    • Jul 2008
    • 2

    Amateur

    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
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Greetings, prerakmody!

    What sort of compiler are you using to achieve this? You may choose to load Eclipse, wonderful options there:-)

    Let us know what you are doing!

    Dököll

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by prerakmody
      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.arraycop y().

      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

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Take a look at some of the tutorials at Sun: http://java.sun.com/docs/books/tutorial/index.html

        Comment

        Working...