Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Tags
Member Avatar for jengels

I am writing a java program. One of the functions of my program is to count all the uppercase letters in a paragraph of text I import. I am not sure how to set this up. Is it something like, isUpperCase.(char) Any help would be great Thanks

Member Avatar for JamesCherrill
0
4K
Member Avatar for jengels

I have an assignment to write a java class. What I need to do is write a class and a driver. I need to write a class that stores instance data as members names. Golfmember(name : String) then in the driver I would have something like: golfer1 = new Golfmember(); …

Member Avatar for apines
0
162
Member Avatar for jengels

I have a text file that looks like this, John, 27, Kids, Married Jane, 22, No Kids, Single and so on... I have read in the text file as seen below, Scanner scan = new Scanner(System.in); System.out.print ("Enter the name of the input file: "); fileName = scan.nextLine(); fileScan = …

Member Avatar for paradox814
0
112
Member Avatar for jengels

Can someone look at my program. I am having a problem with my Scanner line. Does anyone know how to fix this problem?? I keep getting an error at this part: letter = scan.nextLine(); [code] import java.util.Scanner; public class ATMdriver { public static void main(String[] args) { ATM atm=new ATM(); …

Member Avatar for paradox814
0
183
Member Avatar for jengels

For this program, we need to read in a file which has baseball stats. Our program reads in the dat file then parses each line in the file. The file looks like this: Joe h,o,h,s,h,o,h,h,h,o,o,o Bill s,o,o,h,h,o,s,s,o So far I'm ok with this. Here is the part that I'm struggling …

Member Avatar for Phaelax
0
163
Member Avatar for jengels

I'm supposed to write a loop to loop through the days, the write a switch statement for the verses. The program should print out just like the song goes. For example: On the 1st day of xmas my true love gave to me, a partidge in a pear tree On …

Member Avatar for jengels
0
129
Member Avatar for jengels

I have a question. Below is my driver, I've already written a class. The object of the program is to report a winner and loser based on a coin flip. Heads wins. I already have if (coin1.toString()==coin2.toString()) to take care of a tie. Hoiw do I report a winner for …

Member Avatar for jengels
0
80
Member Avatar for jengels

I understand I can write a statement like: if==12 or if <12 but how do you write an if statement for something like, A = 90-100 B = 80-89 How do you write the if statement for that? My java book doesnt tell you how to write an if statement …

Member Avatar for jengels
0
67
Member Avatar for jengels

When you have to write your own class, is it ok to call the scanner class in your class?

Member Avatar for server_crash
0
68
Member Avatar for jengels

I'm having a problem here with Windows XP, IE, and Yahoo messenger. They all tell me to enable Java Scripting. The problem is, my java scripting IS enabled. One user told me I may have some damaged .dll files. I replaced the following: regsvr32 SHDOCVW.dll regsvr32 BROWSEUI.dll regsvr32 browselc.dll regsvr32 …

Member Avatar for jengels
0
107
Member Avatar for jengels

I'm having a strange problem here. Windows XP, if I click on search under start...I get a blank page. If I click on system restore I get a blank page. When I try to use Yahoo messenger, It doesnt display my text in the IM box. When I go to …

Member Avatar for Comatose
0
155