package com.practicaljava.lesson20;

public class TestThreads2 {
    public static void main(String args[]){
     
     MarketNews2 mn2 = new MarketNews2();
     Thread mn = new Thread(mn2,"Market News");
     mn.start();
         
     Runnable port2 = new Portfolio2();
     Thread p = new Thread(port2, "Portfolio Data");
     p.start();

     System.out.println( "TestThreads2 is finished");
    }
}