Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Closed Thread
 
Thread Tools Search this Thread Display Modes
 
Old 07-23-2006, 02:17 AM   #1
BSOD
 
Join Date: Jul 2006
Posts: 3
Default I am Sonia... Need a help from Java Programmers

This Sonia.. I' m doing my Computer Degree in India, Mumbai...

If any java programmers here pls help me to do this 2 questions..
If you finish these 2 tasks mail me hasna_sonia@yahoo.com

Questions as follows

Question 1)

GUI, Event Handling, Exception Handling, Audio

An interface has two buttons labelled “Create” and “Exit”. Each time a user presses the “Create”
button; two circles appear at random positions on the screen. The circles need not be of the same
size. Once the user presses the “Exit” button, the program is to display the number of times that:

*** The areas of the two circles do not overlap.
*** The areas of the two circles overlap.
*** The areas of the two circles totally overlap.
In each case the system is to emit an appropriate audio indicating the nature of circle overlaps (the
three different scenarios described above). Note that the “Create” button may be pressed a number
of times before the “Exit” button is pressed which displays the result and ends the program.

Develop a Java program to implement this specification.

++++++++++++++++++++++++++++++++++++

Question 2)
Methods, String, Thread, File Handling, Exception Handling

A user is interested in an alphabetical list of all the 4-letter words which have been used in a text
file. To achieve this, a program is required:

*** To read the lines from the text file and transfer all the words into a string array whose size
should not exceed 10.
*** Another part of the program takes the words, one at a time, from the string array and adds it into
an ArrayList, provided it is a 4-letter word. Duplicate words are not allowed.
*** In addition, the program should be able to provide an alphabetical list of these 4-letter words.
Take advantage of the thread feature of Java to implement this requirement.
Write this program using Java.
__________________

hasna_sonia is offline  
Old 07-23-2006, 02:19 AM   #2
BSOD
 
MarxSoccer's Avatar
 
Join Date: Jun 2005
Posts: 2,999
Send a message via ICQ to MarxSoccer Send a message via AIM to MarxSoccer Send a message via MSN to MarxSoccer Send a message via Yahoo to MarxSoccer
Default Re: I am Sonia... Need a help from Java Programmers

Enough fucking threads! Sorry about the language but this place has come to ruins
__________________

MarxSoccer is offline  
Old 07-23-2006, 03:46 AM   #3
Golden Master
 
Brookfield's Avatar
 
Join Date: Apr 2005
Posts: 10,056
Default Re: I am Sonia... Need a help from Java Programmers

Quote:
Originally Posted by MarxSoccer
Enough f***ing threads! Sorry about the language but this place has come to ruins
I agree, but still no excuse for this sort of language Marx, I feel like swearing myself, but we can't stop these posts coming in, this is a multi-post, damn nuisance, four to deal with here, of course the poster could be innocent, this one's from India, & probably thinks if they make several posts, they stand a better chance, I've just got up after a lousy night's sleep, & am now faced with this #@x^%<~@ing lot, you should try being a mod! lol.
Brookfield is offline  
Old 07-23-2006, 04:09 AM   #4
Golden Master
 
Brookfield's Avatar
 
Join Date: Apr 2005
Posts: 10,056
Default Re: I am Sonia... Need a help from Java Programmers

Tried to PB her Marx, but couldn't, David is sorting it out, a glitch apparently, grrrrrrr!!
Brookfield is offline  
Old 07-23-2006, 05:20 PM   #5
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: I am Sonia... Need a help from Java Programmers

Banned
David Lindon is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0