Search:

Type: Posts; User: KingLane

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,882

    Re: Having trouble redirecting nodes

    Thank you, helloworld922. That is a pretty obvious mistake that I should have caught.
  2. Replies
    6
    Views
    1,882

    Having trouble redirecting nodes

    Hey everyone,

    I am working on an assignment that concerns itself with linked lists. Below is the code for two user-defined classes. The class Node contains the instance variables, constructors,...
  3. Re: Having trouble printing object information in main class

    Okay, a friend helped me and the program is now working. I have reprinted the methods with the correct toPrint() formats below.



    public class vehicleInfo {

    public static void main(String[]...
  4. Having trouble printing object information in main class

    I am having trouble printing object information in my main class. The class vehicleInfo is my main class and I have instantiated objects from the other classes. I'm trying to print that information...
  5. Replies
    4
    Views
    2,390

    Re: Problems with recursion

    Yes, you're right, helloworld922. I've made the changes. Thank you for your response.
  6. Replies
    4
    Views
    2,390

    Re: The code seems to work now

    I made a small change and the code seems to work now. The change I made is found within the first conditional statement of the checkPalindrome user-defined method. The code did read:


    ...
  7. Replies
    4
    Views
    2,390

    Re: Problems with recursion

    I made some corrections to the code and have posted the new code below. The program runs correctly if I input a string that does not contain any A's, T's, C's or G's, but still does not run properly...
  8. Replies
    4
    Views
    2,390

    Problems with recursion

    Hey guys,

    I am currently enrolled in a CS2 class and am working on a problem involving recursion. The problem is similar to checking that a string is a palindrome, but it's a little different. In...
Results 1 to 8 of 9