Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
23% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #3K
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for 24x24

I am to write a program that converts either binary, hex or octal to decimal. We are to use methods for the first time (Not a problem). I have written almost all of the code but the conversion. We can't use int.toDecimal or any shortcut. All must be long coded …

Member Avatar for 24x24
0
230
Member Avatar for McCurry0x77

I'm trying to run through a file and add each string in the file to a string array. My code yields the error "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at StudentLAM.main(StudentLAM.java:14)" Why doesn't this work? Note: I cannot use ArrayList. My error-yielding code: [CODE] private Scanner index; int cell = …

Member Avatar for jon.kiparsky
0
280
Member Avatar for privatestatic

hey guys i got this new project for my java class and got the overall idea but my code still does not seem to work ...here are the directions: - make a 5X5 boolean array assign 5 random elements for 5 ships - user can have 15 guesses to find …

Member Avatar for JKP()
0
962
Member Avatar for amr321

[B]Hi everyone I would like to take your advice about my situation This is my second year in university and my major is computer science and my programming skill is very weak:'( and I finish data structure by Miracle :icon_cry:and until now I can’t solve any assignment by myself:icon_sad:, so …

Member Avatar for rusl07cl08
-1
632
Member Avatar for hao90

How to let the button set to it "latest" text because i suppose to set the button's text to "booked" and the foreground to red. However, everytime i re-run the program, the button re-set. I know i should do something on constructor, but how? Here is my coding.. Thanks for …

Member Avatar for JKP()
0
92
Member Avatar for coco24

Hello I am new to Java and I have no idea where to start with this program. Can somebody please start me off or display how you would execute the code. Thank you. This is what I have so far, but it is just the basics: [code] /* * For …

Member Avatar for JKP()
0
120
Member Avatar for bangor_boy

What is a better way to write the code, [CODE] public void showFeelings(int howManyGoals) { switch (howManyGoals) { case 0: System.out.println("Oh dear, not very good"); break; case 1: System.out.println("Oh dear, not very good"); break; case 2: System.out.println("Oh dear, not very good"); break; case 3: System.out.println("Ive seen donkeys shoot better"); break; …

Member Avatar for JKP()
0
176
Member Avatar for pigmario

I have a text file contain a coordinate 100,20 240,100 23,45 I manage to read row and split it into and integer. and get it to point x=100 ,y=20. the problem is in the end i got a null when i print in console show a null like this 100 …

Member Avatar for JKP()
0
97
Member Avatar for javap

I want help in writing a digit display(3 digit number) in java (using sub strings). Example 524 if user inputs then computer has to display 5 2 4.

Member Avatar for JKP()
0
146
Member Avatar for techalerts

hi frnds, i completed mca 5th semister. now i want to do a project on java. could any one help me what are the current best projects on java?

Member Avatar for JKP()
0
63
Member Avatar for kdmuk10

I was trying to find the smallest common divisor for the numbers from 1 to 20. I tried the following code. My problem was how to get back to the beggining of the for loop after the if test has found the number is not divisible. But then i added …

Member Avatar for kdmuk10
0
93
Member Avatar for DanieltheE

hello all, this is my first post here and I have searched for answers elsewhere before asking for help. My code is pretty tight, but I keep coming up with symbol not found errors. Are my curlys not in the right place? Or have i not declared the objects correctly. …

Member Avatar for JKP()
0
143
Member Avatar for newcoder310

Hi I'm new to programming so I need a little help with packages. I have created 2 packages test1 and test2 with p1.java and p2.java respectively. Both have default access. I'm trying to extend p1 with p2 and have tried to import test1 but the error im getting is that …

Member Avatar for JKP()
0
92
Member Avatar for JKP()

Im new to java and I would like to participate in some small projects.. let me know and I'll be glad to work with yha..

Member Avatar for JKP()
0
91