Results 1 to 10 of 10

Thread: Help!!!

  1. #1
    chkm8 is offline Member
    Join Date
    Dec 2008
    Location
    Canjulao, Jagna, Bohol Philippines
    Posts
    10
    Rep Power
    0

    Default Help!!!

    Hai java programmers out there., i have a problem in coding the array of object.,. i have no back ground with that so far,, I am making a 24 hour inventory store for my project. It's just a simple program for my project.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    chkm8 is offline Member
    Join Date
    Dec 2008
    Location
    Canjulao, Jagna, Bohol Philippines
    Posts
    10
    Rep Power
    0

    Default

    tnx for the tuturial.., i have just solve my problem last night but it can help me a lot.., can you give a tuturial in inventory system i have a big trouble in that program. I need tuturials that has all java features like the keywords and their usage. I cant find a good one in the net. do you have?

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    What type of inventory are you talking about? Can you specifically explain what you really looking.

  5. #5
    chkm8 is offline Member
    Join Date
    Dec 2008
    Location
    Canjulao, Jagna, Bohol Philippines
    Posts
    10
    Rep Power
    0

    Default

    hmm. My project is to make a 24 hour store inventory program. The program should deal with stock in, stock out, re order,etc,have 2-5 categories with limited stock up to 5 per category. I have started making my program. I ask the user to input product, i used array of object to store the information of the product. I think i can solve the program but in a logical way or in my own way and it will result a big file program and hard to read or understand with my Colleagues. That's why i'm looking for a best way of making my program nice and readable. I have some tuturials in java but it's lock of information. I want to try the ArrayList but i dont know how to code and logic the ArrayList.

  6. #6
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Plan ahead...

    Before you write any code, take some time to write down your requirements:
    • How many options will your program have (stock-in, stock-out, reorder,etc)?
    • what options will be presented to the user?
    • Will it have low stock alerts?
    • Will the stock information be saved to a file?
    • will it be command prompt or GUI based?
    • etc

    Design it the best you can on paper, then, when you're satisfied you can start coding the program in small logical pieces/chunks (user's screen, differente classes, etc). Don'y try to code everything in one massive attempt... you'll just become frustrated.

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by CJSLMAN View Post
    Design it the best you can on paper
    I don't know why people not doing this. Always start from the last point, last result. Then having bunch of questions here without any effort.

  8. #8
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Theory only...

    I imagine it's because most of the instructors are theory teachers... never had any industry experience. Therefore, the planning part is not considerd or explained to the students.

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  9. #9
    chkm8 is offline Member
    Join Date
    Dec 2008
    Location
    Canjulao, Jagna, Bohol Philippines
    Posts
    10
    Rep Power
    0

    Default

    tnx for that useful advise sir. Whe I will be having another projrctI will use your pointers. But I still have problems eventhough If It is will plan because I dont know the differents keywords of java that is useful. If you will see my work you will find lots of do while loop,if else statements,ect. and the worst is I dont have an internet thats why Im not always visiting this site. But Im hoping that this cite will help me and improve my programming skill. Tnx.

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by chkm8 View Post
    tnx for that useful advise sir. Whe I will be having another projrctI will use your pointers. But I still have problems eventhough If It is will plan because I dont know the differents keywords of java that is useful. If you will see my work you will find lots of do while loop,if else statements,ect. and the worst is I dont have an internet thats why Im not always visiting this site. But Im hoping that this cite will help me and improve my programming skill. Tnx.
    If you don't have internet access one best way you have, may be more. Download the whole Suns' tutorial and work out on it. If you can complete that tutorial soon, you can become genius in Java very quickly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •