hello can somebody write a code for this array list in java I want the output as required
there is a array list of 1,2,3 and to this {1}-->{4}-->{9} = {1,4,9} ,

{2}-->{5}-->{10} = {2,5,10} and so on





{1,2,3}
{4,5} {9} {10}
{6} {11}
{7,8} {12,13} {14,15}

output : {1,4,9} {1,5,10} {2,6,11} {3,7,12} {3,7,13} {3,8,14} {3,8,15}

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

Post what you have done so far and someone will help you from there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.