" data-bs-original-title="" title="">
Comments: The code is poorly formatted If key is a String, why do this: ` key.toString()` use key directly What does this mean: subtracts 9 to make unicode into values A,B,C...=1,2,3... 'A' - 9 = 56 not 1
Look at the pattern of what goes on each line. How many numbers go on the first line? How many on the second? etc Use some loops: one for each line and one for the contents of a line
> The class won't compile?! Please post the full text of the error messages.
Please post the full text of the error message that shows where the error happens. Look at the source line where the error happens and see what variable has a null value and then backtrack in the code to see why that variable does not have a valid non-null value.
What code have you written so far? Do you have any specific problems or questions to ask about it? Post your code and your questions so we can help you get your code to work.
What have you written so far? Do you have any specific questions about your assignment?
Are you looking for a design/algorithm or do you have one and need help coding it in java?
> (I'm getting a infinite while loop Add some println calls in the loop that prints out the value of numberOfChar to see what the code is reading that makes it loop forever. Have you read the API doc for the Scanner methods to see what they can do? For …
> Im having trouble counting the words Can you explain? How many words does the program read and how many does it count? What is the output from the program.
Replace the list of if statements with a statement that returns the value for the character. Since the values of the chars are contiguous: 'b' = 'a' + 1 and you can do arithmetic with char variables, consider these: 'b' - 'a' = 1 or 'z' - 'a' = 25
> to show my fellow staff members that I am making progress Where is your attempt at writing the code in Java? Here are a couple of links: http://docs.oracle.com/javase/tutorial/java/TOC.html http://docs.oracle.com/javase/tutorial/reallybigindex.html
> it gives out a horrible box of code Please copy and paste the full text of any error messages generated by the program. I assume that is the "horrible box" that you are seeing. On windows To copy the contents of the command prompt window: Click on Icon in …
Did you look at this: http://www.daniweb.com/software-development/java/threads/430542/java-projects-for-learners
> how to calculate car insurance premium based on the age,Licence and Engine size That sounds like you need a formula that takes those values and some constants to compute the premium. What problems are you having getting the values needed and computing the premium?
Can you post the full text of the error messages you get. Can you explain what problems you are having?
Can you post what the csv file would look like given the XML you posted for input?
Look at using the Card layout for switching from one display to another.
Have you looked at using key binding instead of key listener?
Are you talking about something like: `List<List> listOfLists`
What steps does the code need to take to do the multiplication? Or what algorithm have you got for doing it? Once you get a design for the method, then work on how to impliment it.
Do you have any specific questions about you code? If so, please post the.
Did you read the API doc for the AudioClip class?
The End.