Call Support +91-85588-96644
TCYonline

Login

Sign Up

Please enter a Username or Email ID
Please enter a password
Keep me logged in
Please enter your name
Please enter your mobile number
You can't leave Captcha Code empty
By submitting this form, you agree to the Terms & Privacy Policy.
OR

Sign Up via Facebook

Sign Up via Google

Sign Up via Twitter

Download Software
Tests given

Download TCY App

App Image

All posts related to Java

Ajay
Shared from Java Multithreading on Oct 23, 2018 5:57 AM

Which of the following statements is/are correct?
A. A finally block is optional.
B. throw and throws are the same.

 
Only A
Only B
Both A and B
Neither A nor B
Please type your answer before submitting.

A finally block is optional only when try is surrounded with catch

Raj
Shared from Java Multithreading on Jul 24, 2016 1:51 PM

Which of the following methods is/are correct for making a new thread?

A. Declare a class to be a subclass of Thread class.
B. Declare a class that implements the Runnable class.

 
Only A
Only B
Both A and B
Neither A nor B
Please type your answer before submitting.

Your explanation is also matching my answer but my answer is wrong as per your record. It is incorrect evaluation of this question

Shafali Kataria
Shared from Java Multithreading on Apr 28, 2016 8:15 PM

Which of the following exceptions is not a sub-class of RuntimeException?

 
ArithmeticException
ArrayStoreException
SecurityException
ClassCastException
Please type your answer before submitting.

I have found one wrong answer

Afzal Ahamad
Shared from Java Multithreading on Dec 19, 2015 12:00 PM

Throwable class has two sub-classes, ________ and __________.

 
Errors and Exceptions
Error and Exceptions
Errors and Exception
Error and Exception
Please type your answer before submitting.

It is wrong

Bhumi
Shared from Java Multithreading on Oct 09, 2015 5:29 PM

When an allocated time of a thread is over, JRE puts it back in the _____ state.

 
new
ready
running
dead
Please type your answer before submitting.

Someone can explain this .?