logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between processes and threads ?


  • Correct Answer
  • - A process is an execution of a program, while a Thread is a single execution sequence within a process - A process can contain multiple threads A Thread is sometimes called a lightweight process 


  • Technology problems


    Search Results


    • 1. Explain different ways of creating a thread. Which one would you prefer and why ?
    • Discuss
    • 2. What are pass by reference and pass by value ?
    • Discuss
    • 3. What is dynamic method dispatch?
    • Discuss
    • 4. What is the similarity between Dynamic Binding and linking?
    • Discuss
    • 5. What is Shallow and deep cloning in Java?
    • Discuss
    • 6. What are the basic interfaces of Java Collections Framework ?
    • Discuss
    • 7. What do you know about the big-O notation and can you give some examples with respect to different data structures ?
    • Discuss
    • 8. What?s the difference between Enumeration and Iterator interfaces ?
    • Discuss
    • 9. What is the output of this program ? class main_arguments { public static void main(String [ ] args) { String [][] argument = new String[2][2]; int x; argument[0] = args; x = argument[0].length; for (int y = 0; y < x; y++) System.out.print(" " + argument[0][y]); } }

    • Options
    • A. 1 1
    • B. 1 0
    • C. 1 0 3
    • D. 1 2 3
    • Discuss
    • 10. What is autoboxing and unboxing ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment