Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Print Odd and Even Thread in Java  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
There are two threads Thread1 which contains 1,3,15,17,21 in a list and thread 2 which contains 2,16,18,20 in a list.
Can anyone let me know how to put the data within a list and print its content.

Thanks
 
Ranch Hand
Posts: 250
1
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clarify what exactly you are trying to do, what your end goal is, and what you mean by "list."
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!