Click here to Skip to main content
15,910,872 members
Home / Discussions / Java
   

Java

 
AnswerRe: Java GUI help Pin
toxcct28-Jul-08 0:30
toxcct28-Jul-08 0:30 
GeneralRe: Java GUI help Pin
BlackWolvix28-Jul-08 4:07
BlackWolvix28-Jul-08 4:07 
QuestionPlease guide me about remote server code... Pin
ED STEVENS21-Jul-08 19:28
ED STEVENS21-Jul-08 19:28 
QuestionHow to implement ECDH in Java? Pin
Nayeem_Ctg16-Jul-08 0:20
Nayeem_Ctg16-Jul-08 0:20 
AnswerRe: How to implement ECDH in Java? Pin
toxcct28-Jul-08 0:28
toxcct28-Jul-08 0:28 
Questionreplace() Pin
thachil9-Jul-08 5:37
thachil9-Jul-08 5:37 
AnswerRe: replace() Pin
CPallini24-Jul-08 2:05
mveCPallini24-Jul-08 2:05 
Questioncreate a class toy collection that stores information about different toys in a toy shop. Pin
thewarrior_20063-Jul-08 21:36
professionalthewarrior_20063-Jul-08 21:36 
create a class toy collection that stores information about different toys in a toy shop. The information to be stored about a single toy is,

- toy identification as string
- name of the toy as string
- Short discription about the toy as string
- Price of the toy as float
- Quantity of the toy in hand as short integer


This class contains following methods,
- Constructor method that assigns user input values to above mantioned variables.
- main() method that creates array of 4 objects of toycollection class and that takes input for all about details from the user end
class method to check validity of Quantity and Price values. If all values are valid then create the object and display the details for all 4 toys.
- Method that checks validity of quentity and price. If the quentity is 0 or negitive then method should through a user defined exception with approriate message and come out of program. Similiry if the prize is 0 or negivity then it should through user defined exception with appropriate message and come out of the program.

- Method that displays all detail about a single toy in the following format, e.g. Here Total price should be calculated


Toy Identification : S-1
Toy Name : Small Scooter
Toy description : Ordenery 3 wheeler Scooter
Toy Price : 650.50
Quantity in hand : 3
Total price of Toys : 1951.50
AnswerRe: create a class toy collection that stores information about different toys in a toy shop. Pin
toxcct7-Jul-08 8:25
toxcct7-Jul-08 8:25 
Questionjava run time-error Pin
annie_144330-Jun-08 10:40
annie_144330-Jun-08 10:40 
AnswerRe: java run time-error Pin
toxcct30-Jun-08 20:52
toxcct30-Jun-08 20:52 
GeneralRe: java run time-error Pin
baalaajee28-Jul-08 4:33
baalaajee28-Jul-08 4:33 
QuestionEncryption between Java and ASP.Net Pin
doWhileSomething30-Jun-08 7:23
doWhileSomething30-Jun-08 7:23 
AnswerRe: Encryption between Java and ASP.Net Pin
doWhileSomething5-Jul-08 6:26
doWhileSomething5-Jul-08 6:26 
QuestionFinding the largest subtree in tree Pin
paulosuckow23-Jun-08 8:38
paulosuckow23-Jun-08 8:38 
AnswerRe: Finding the largest subtree in tree Pin
jan larsen26-Jun-08 3:41
jan larsen26-Jun-08 3:41 
QuestionProblem with reading large file in java Pin
buntyrolln15-Jun-08 20:04
buntyrolln15-Jun-08 20:04 
AnswerRe: Problem with reading large file in java Pin
toxcct15-Jun-08 22:30
toxcct15-Jun-08 22:30 
AnswerRe: Problem with reading large file in java Pin
shashidhar323025-Jun-08 19:52
shashidhar323025-Jun-08 19:52 
QuestionI have problem in parsing state machine diagram Pin
Member 42397379-Jun-08 17:31
Member 42397379-Jun-08 17:31 
AnswerRe: I have problem in parsing state machine diagram Pin
toxcct9-Jun-08 21:10
toxcct9-Jun-08 21:10 
QuestionI have problem in parsing state machine diagram Pin
Member 42397379-Jun-08 1:30
Member 42397379-Jun-08 1:30 
Questionjava - applet, after a command connecting to another html page Pin
simon alec smith8-Jun-08 1:12
simon alec smith8-Jun-08 1:12 
AnswerRe: java - applet, after a command connecting to another html page Pin
toxcct8-Jun-08 21:55
toxcct8-Jun-08 21:55 
GeneralRe: java - applet, after a command connecting to another html page Pin
simon alec smith8-Jun-08 23:31
simon alec smith8-Jun-08 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.