India’s Best Job Seekers and Training Platform Forums Java Problems set Write a Java Program in which a class takes four integer…

  • Write a Java Program in which a class takes four integer…

  • Akash 

    Administrator
    at

    Write a Java Program in which a class takes four integer arguments as input(a, b, c and d). Do addition of (a+b) on one thread, addition of (c+d) on another thread and multiplication of(a+b) * (c+d)) on main thread.

    Like: Thread1 = (a+b)

    Thread2 = (c+d)

    Main Thread = (Thread1 * Thread2)

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 21st September 2020. Attend one week free demo classes.Register Now

New Report

Close