Searching for "%"

Q:

The keyword which indicates that a method can be accessed by only one thread at a time is

A) Strictfp B) Synchronized
C) New D) None
 
Answer & Explanation Answer: B) Synchronized

Explanation:

The synchronized keyword indicates that a method can be accessed by only one thread at a time

Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion(A)    :    Increase in carbon dioxide would melt polar ice. 

Reason (R)      :    Global temperature would rise

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: A) Both A and R are true and R is the correct explanation of A.

Explanation:

The carbon dioxide envelope in earth's atmosphere traps the heat. With increase in the proportion of carbon dioxide, therefore, the global temperature would rise, thus causing the polar ice to melt 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion(A)   :   In India, the judiciary is independent of the executive. 

Reason (R)     :   Judiciary favours the government and helps in the implementation of its plans. 

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: C) A is true but R is false.

Explanation:

In India, the judiciary is completely independent of the executive. It has no interference in the affairs of the state nor can it be influenced by the government. 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion (A)   :  We prefer to wear white clothes in winter. 

Reason (R)      :  White clothes are good reflectors of heat. 

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: D) A is false but R is true.

Explanation:

We prefer to wear dark clothes in winter because they absorb the heat and keep the body warm. However, white clothes are good reflectors of heat and are worn in summer. 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion(A)   :   When common salt is kept open, it absorbs moisture from the air. 

Reason (R)     :   Common salt contains magnesium chloride. 

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: A) Both A and R are true and R is the correct explanation of A.

Explanation:

Magnesium chloride present in common salt is a deliquescent substance i.e. it absorbs moisture from the air when kept in open. 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion (A)   :   Weeds should not be allowed to grow along with the crops. 

Reason (R)     :    Weeds leave no space for plants to grow. 

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: C) A is true but R is false.

Explanation:

Weeds should not be allowed to grow along with the crops because they consume the plant nutrients. 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

In a single virtual machine, the Java programming language passes arguments by

A) Refference B) Value
C) Both A and B D) None
 
Answer & Explanation Answer: B) Value

Explanation:

In single virtual machine,JVM passes arguments only by value.

Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

Directions : For the Assertion (A) and Reason (R) below, choose the correct alternative 

Assertion(A) :  The steam engine was invented by James Watt. 

Reason (R)   :  There was a problem of taking out water from flooded mines

A) Both A and R are true and R is the correct explanation of A. B) Both A and R are true but R is NOT the correct explanation of A.
C) A is true but R is false. D) A is false but R is true.
 
Answer & Explanation Answer: A) Both A and R are true and R is the correct explanation of A.

Explanation:

The problem of pumping out water from the flooded mines provided the need of a self working engine, which led James Watt to invent the same. 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason