gabriel terry

+ Follow
since Mar 21, 2014
Merit badge: grant badges
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gabriel terry

Hello everyone
I need advise about connecting bluetooth , send/recieve file.
I want to send a data (double type) from phone and recive it on pc
I read google documentation , but I'm still in the fog
Any ideas are welcome.
I don't want the cod.
8 years ago
Thank you!
It's working.Next time I will be more careful.
8 years ago
I'm trying to compile a simple code to display the google map,but I have no idee why these errors appears.


8 years ago
My mistake.
I fix it now.
Thanks a lot!
8 years ago
I also tried

Here i must recive 9.
But I can't understand why < 10.
Thank you!
8 years ago
i received an error when i'm trying to view data from database
8 years ago
Hey everyone,

I have a problem when i'm trying to recive information from my local database.

Database look like in Untitled.jpg

8 years ago
It's working! Thank you!
8 years ago
(Pick four cards) Write a program that lets the user click the Refresh button to display
four cards from a deck of 52 cards, as shown in Figure 16.21a. (Hint: See
Listing 6.2 on how to draw four cards randomly.)

I have a problem.The "refresh" button does nothing.Any ideea?

8 years ago
I already try to use before I posted

But in the doc.txt appears just the last word from first Match.txt
Thanks for the answer!
8 years ago
/*(Remove text) Write a program that removes all the occurrences of a specified
string from a text file. For example, invoking
java Exercise14_11 John filename
removes the string John from the specified file. Your program should get the
arguments from the command line.*/

I have a problem.
Text document is Match.txt
Match.txt contains a string: "Open the door John"
I tried to create a new file named doc.txt where to put the text from the Match.txt without John word

Error :NoSuchElementException
8 years ago
Hy everyone,

I'm trying to do this exercise:
(Game: ATM machine) Use the Account class created in Programming Exercise
8.7 to simulate an ATM machine. Create ten accounts in an array with id 0, 1, . . . ,
9, and initial balance $100. The system prompts the user to enter an id. If the id is
entered incorrectly, ask the user to enter a correct id. Once an id is accepted, the
main menu is displayed as shown in the sample run. You can enter a choice 1 for
viewing the current balance, 2 for withdrawing money, 3 for depositing money,
and 4 for exiting the main menu. Once you exit, the system will prompt for an id
again. Thus, once the system starts, it will not stop.

P7 code:

Run Time:

Enter an id:
Main menu:
1: check balance
2: withdraw
3: deposit
4: exit
Enter a choice:


I can not understand why doesn't display anything
8 years ago
(Check substrings) You can check whether a string is a substring of another string by using the indexOf method in the String class. Write your own method for
this function. Write a program that prompts the user to enter two strings, and checks whether the first string is a substring of the second.

I am looking for ideas to accomplish this program. I have no idea what the function should return

8 years ago