- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.

Sponsored Links

Interview Questions
Our Services

Question :
Which two statements are true? (Choose two.)
A. It is possible for more than two threads to deadlock at once.
B. The JVM implementation guarantees that multiple threads cannot enter into a deadlocked state.
C. Deadlocked threads release once their sleep() method's sleep duration has expired.
D. Deadlocking can occur only when the wait(), notify(), and notifyAll() methods are used incorrectly.
E. It is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly.
F. If a piece of code is capable of deadlocking, you cannot eliminate the possibility of deadlocking by inserting
invocations of Thread.yield().

Category Sun Certified Java Developer Interview Questions
Rating (3.5) By 20 users
Added on 7/20/2015
Views 58
Rate it!



A: It is possible for more than two threads to deadlock at once.
F:If a piece of code is capable of deadlocking, you cannot eliminate the possibility of deadlocking by inserting
invocations of Thread.yield().


If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    1. public class Threads2 implements Runnable {
    3. public void run() {
    4. System.out.println("run.");
    5. throw new RuntimeException("Problem");
    6. }
    7. public static void main(String[] args) {
    8. Thread t = new Thread(new Threads2());
    9. t.start();
    10. System.out.println("End of method.");
    11. }
    12. }
    Which two can be results? (Choose two.)
    A. java.lang.RuntimeException: Problem
    B. run.
    java.lang.RuntimeException: Problem
    C. End of method.
    java.lang.RuntimeException: Problem
    D. End of method.
    java.lang.RuntimeException: Problem
    E. run.
    java.lang.RuntimeException: Problem
    End of method.

    View Answer
    how to include the input of the output file in java script?
    View Answer
    What is the result of mounting a file system with thenoatimeoption enabled?
    A.It enables the UFS logging
    B.It disables the update of file access times
    C.It prevents the creation of files larger than 2Gbytes
    D.It prevents the user from updating the file modification times
    View Answer
    IF you are remotely logged on to a Solaris machine, What command would you execute?
    View Answer
    What is native keyword and abstract keyword?
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here - Best Freshers & Experienced Jobs Website.

    View ALL Sun Certified Java Developer Interview Questions & Answers

    User Options
    India News Network

    Latest 20 Questions
    What is the RESTeasy framework?
    What is the Jersey framework?
    What is the Restlet framework?
    What is WADL?
    What is the difference between SOAP and other remote access techniques?
    What is the wsgen tool?
    What is the wsimport tool?
    What is encoding rules for header entries?
    What are 2 styles web service?s endpoint by using JAX-WS?
    What does SOAP encodingStyle attribute defines?
    What is the SOAP encoding?
    What is a SOAP envelope element?
    What is XOP?
    What is MTOM?
    What is JAXB?
    What is JAX-WS?
    What is WSDL?
    How to decide which one of web service to use REST or SOAP?
    What is the difference between a REST web service and a SOAP web service?
    What is REST?

    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |

    Copyright ©2003-2016, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Cache = 0.941406 Seconds