Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Solving.

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Solving.

    Can someone solve this for me? PLEASE!

    public class listNode
    {
      int           data;
      listNode next;
      listNode(int d, listNode n){
         data = d;
         next = n;
       }
    }
    public class list {
       listNode first;
    }

    Write a Java function Sum2List that takes two lists L1 and L2 of the same size and returns list L that contains the sum of data inside the corresponding nodes of lists L1 and L2.

    post.jpg


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,817
    Thanks
    55
    Thanked 2,344 Times in 2,315 Posts

    Default Re: Solving.

    What have you tried?

    This is your 5th post without showing any effort. I suggest you start showing some effort if you expect to get help.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. I need help solving my question in my homework
    By mazin757 in forum Java Theory & Questions
    Replies: 1
    Last Post: March 26th, 2014, 09:19 AM
  2. Thank you for solving the mystery!!
    By Maxi in forum Member Introductions
    Replies: 1
    Last Post: September 19th, 2012, 08:41 PM
  3. Help with solving Maze
    By tcao2 in forum Algorithms & Recursion
    Replies: 9
    Last Post: May 5th, 2012, 09:58 PM
  4. Solving a polynomial
    By arvindbis in forum Java Theory & Questions
    Replies: 9
    Last Post: March 8th, 2012, 12:16 AM
  5. Problem in recursion for Solving Maze Recursively program
    By _Coder1985 in forum Algorithms & Recursion
    Replies: 1
    Last Post: April 29th, 2009, 05:37 AM