Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for noobjavacoder

Binary search tree not working, when it should. Any idea what am i doing wrong. any help would be much appreciated. this is the error: Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method iprint(Node1) in the type BST is not applicable for the arguments () The method preprint(Node1) …

Member Avatar for Oxiegen
0
418
Member Avatar for noobjavacoder

I have written a program in java using selection, bubble and merge sort and I have to print just the time it took to run the sort which works just fine, but how do I sort a sorted list? I want to see how much faster is it to sort …

Member Avatar for JamesCherrill
0
240
Member Avatar for noobjavacoder

Can someone help me figure out why is this not working..... The program supposse to take the data i load into the hashmap from the file and look for the user enters. and suppose to output the answer based on the case. thanks import java.io.File; import java.util.HashMap; import java.util.Scanner; import …

Member Avatar for stultuske
-1
158
Member Avatar for noobjavacoder

Java program reading from 2 files. so i'm creating a program for u.s population by state per 2010 census. Below is the question: create a program that will read from two files and fills two HashMaps to find the population (according to the 2010 census) of an individual state or …

Member Avatar for JamesCherrill
0
368
Member Avatar for noobjavacoder

OK, so i do have a perfectly good working code but im trying a different way and its bugging me why its not working. any help would be much appreciated. the program suppose to list all the available directories and then ask the user which directory he's searching for, takes …

Member Avatar for Taywin
0
239
Member Avatar for noobjavacoder

First question, is there any difference between binary search and recursive binary search??? I looked through google and everything but couldnt find any useful info. I did find irritative and recursive but that was it. and second question: Given a desired search value of 98 and an array with the …

Member Avatar for invisal
0
1K
Member Avatar for noobjavacoder

public class Vegetable { private int calories; public Fruit (int calories){ this.calories = calories; } } public class Onion extends Vegetable { private String color; public Onion (int calories, String color) { super(calories); color = color; } } Why doesn’t Onion constructor method properly set the color? A. The Vegetable …

Member Avatar for noobjavacoder
0
183
Member Avatar for noobjavacoder

ok, so i know this is stupid and probably the easiest thing in java but my brain is not working right now. so i'll ask, how do you add the numbers after you divide them in a for loop. for example: i ask a user to enter a number, the …

Member Avatar for noobjavacoder
0
162