No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi folks, I am trying to perform and insertion sort on a double ended list that currently contains a bunch of strings. Can someone please give me some pointers on how to approach this problem? |
|
I am trying to add the integer elements of two Linked Lists. How do I add the contents of two elements of a linked list. For example: public void main { ........ LinkList newList = new LinkList(); ......... Link link1, link2, linkAns; ...... ...... link2 = newList.deleteFirst(); link1 = newList.deleteFirst(); … |
|
I am trying to create a queue of tokens from a file and I have the following; [code] Scanner pScanner = new Scanner (System.in); String ptoken; While ((tak = tz.getNext()) !=null) { System.out.println ("The next token is " + tak); .......//more code }[/code] This works becuase it scans every token, … |
|
I am trying to call an external class with the following line class "classname" implements "another classname" { ..I however keep getting an "Interface expected here" error at compilation. What am doing wrong, please? |
|
Hi all, How do I create a bar graph in Java to hold a passed array of units and frequency? Thank youin advance for helping. |
|
I need help figuring out how to put the following logic into code: I have a text file that I am reading from, I have been able to code so that it reads four seperate columns; now I need to make one of the columns read (into an array) the … |
|
Hello, I have the following line that prints a year and the matching fruit consumption; however I have 35 elements in each array that this line is got from. I need help creating a loop that will parse rhe arrays and return the figure for each year. //Display for one … |