473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

java program need help for prog

1
[email=xxxxxxxx@xxxxxxxx] how towrite a complete Java application using a one-dimensional array to keep track of the toys in a shop has in its warehouse. It can enter or remove items from the inventory list, change the number of toys, and display the remaining amount. The default is up to 100 toys.USING JAVA PROGRAM
Jul 11 '07 #1
3 1252
r035198x
13,262 8TB
[email=xxxxxxxx@xxxxxxxx] how towrite a complete Java application using a one-dimensional array to keep track of the toys in a shop has in its warehouse. It can enter or remove items from the inventory list, change the number of toys, and display the remaining amount. The default is up to 100 toys.USING JAVA PROGRAM
Read an arrays tutorial, write down the classes and methods you need and then start the coding ....
Jul 11 '07 #2
praveen2gupta
201 100+
[email=xxxxxxxx@xxxxxxxx] how towrite a complete Java application using a one-dimensional array to keep track of the toys in a shop has in its warehouse. It can enter or remove items from the inventory list, change the number of toys, and display the remaining amount. The default is up to 100 toys.USING JAVA PROGRAM
start a class, declare an two array's store of 100 langth each, Lets one name is ToysName and other is ToysQty Declare its data type String and Short respectively.It's starting location will be ToysName [0] and last will be ToysName [99]. You can store Toys name in ToysName and quantity in ToysQty arrays.
Jul 12 '07 #3
itsraghz
127 100+
[email=xxxxxxxx@xxxxxxxx] how towrite a complete Java application using a one-dimensional array to keep track of the toys in a shop has in its warehouse. It can enter or remove items from the inventory list, change the number of toys, and display the remaining amount. The default is up to 100 toys.USING JAVA PROGRAM
As admin said, first read about Java arrays and how you can use arrays in code thorugh some samples.

Then think of an algorithm of your own to resolve your need. Start writing the program and if you seem to stuck somewhere, then you may please ask the doubts.
Jul 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kathy Benson | last post by:
Hi, I need to open an external file, such as *.htm from a Java program. I need to open this file by the default program that handles this extension on the machine. So *.htm should always be opened...
13
by: BlackHawke | last post by:
Our program, game program Andromeda Online (www.andromedaonline.net) uses two programs- one to play the game, another to patch the game as updates come out. Players actually launch the updater...
2
by: tomko | last post by:
Hi, My program uses the Process class to start a bat file that starts an exe. When I run my program inside Visual Studio (debug) the bat and exe run in the background (are not visible) and all...
0
by: balaji krishna | last post by:
Hi, I need to handle the return set from COBOL stored procedure from my invoking Java program. I do not know, how many rows the stored proc SQL fetches.I have declared the cursor in that proc, but i...
4
by: Tigger2000 | last post by:
I keep getting an error when trying to compile this for Java prog class, below is the instructions for the assignment and my code. Loop Assignment Write, compile, and run a Java program that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.