Searching for "he"

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

Q:

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

Assertion(A)  : Graphite is slippery and used as a lubricant. 

Reason (R)    : Graphite has free electrons. 

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: B) Both A and R are true but R is NOT the correct explanation of A.

Explanation:

Graphite possesses a layer structure with two successive layers held by weak forces and able to slide over one another. So, graphite is slippery and this property finds its use as a lubricant. In graphite, each carbon atom is linked to three other carbon atoms while one electron in the carbon atom is delocalised. So, graphite has free electrons 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Which of the following is not used for commenting in java?

A) // B) /* */
C) /** */ D) /** **/
 
Answer & Explanation Answer: D) /** **/

Explanation:
  • //               is a single line comment
  • /*  */          is commenting on one or more lines
  • /** */         is documentation comment
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)  :  a Leaves of plants are green. 

Reason (R)    :   Plants contain chromoplasts, the green pigment. 

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:

Leaves of plants are green because they contain the green pigment, chlorophyll. However, plants contain chromoplasts but they are not green pigments. 

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) :  A little gap is left between iron rails. 

Reason (R)   :  Iron expands in summer. 

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:

Iron expands in summer. So, gaps are left between rails to allow for expansion. 

Report Error

View Answer Report Error Discuss

Filed Under: Assertion and Reason

Q:

Which of the following is not the other name of attriibute?

A) Data member B) Instance variable
C) instance D) Data filed
 
Answer & Explanation Answer: C) instance

Explanation:

Instance is an object not an attribute

Report Error

View Answer Report Error Discuss

Filed Under: Java