Original Post
well, maybe not so newbie, but anyway.. i have 2 separate classes, class A and class B, both have main methods. when run, class A produces console output. i want to run class A from class B and capture the console output produced by class A into B so that i can use it in B. The output produced by class a is a String, so capturing it into a String in B would suffice. I was wondering if anyone has any ideas on how i would go about doing this?? Please and thank you.