Searching for "st"

Q:

When should I use abstract classes and when should I use interfaces?

Answer

Use Interfaces when…


- You see that something in your design will change frequently.


- If various implementations only share method signatures then it is better to use Interfaces.


- You need some classes to use some methods which you don't want to be included in the class, then you go for the interface, which makes it easy to just implement and make use of the methods defined in the interface.


 


Use Abstract Class when…


- If various implementations are of the same kind and use common behavior or status then abstract class is better to use.


- When you want to provide a generalized form of abstraction and leave the implementation task with the inheriting subclass.


- Abstract classes are an excellent way to create planned inheritance hierarchies. They're also a good choice for nonleaf classes in class hierarchies.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

Which is the highest form of unemployment in India?

A) seasonal B) structural
C) cyclical D) casual
 
Answer & Explanation Answer: B) structural

Explanation:

Basically India's unemployment is structural in nature. It is associated with the inadequacy of the productive capacity to create enough jobs for all those able and willing in india. Not only is the productive capacity  (largely capital stock) much below the needed quantity, it is also found to be increasing at a slow rate. As against this, additions to labour force are being made at a fast rate on account of rapidly rising population. Thus, the absolute level of unemployed persons is rising every year. 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

Q:

The Income elasticity demand for farm products is

A) High in India B) No demand at all
C) Very low in India D) High supply and no demand
 
Answer & Explanation Answer: C) Very low in India

Explanation:

Income easticity of demand measures the responsiveness of demand for any goods to changes in income. With increase in incomes generally the demand for farm products like rice wheat etc, will not change drastically. With income increase, demand for luxuries such as consumer durables etc will increase. The income elasticity  of demand for farm products is thus low.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

Q:

Heated saw dust catches fire when a drop of concentrated nitric acid is added to it. This is due to

A) dehydration B) oxidation
C) reduction D) dehydrogenation
 
Answer & Explanation Answer: B) oxidation

Explanation:

Saw dust contains carbon which is oxidised to carbon  dioxide by concentrated nitric acid;

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

Q:

A boy sitting in a train moving with a uniform velocity drops a coin outside. A man standing outside the train will find the trajectory of the coin to be 

A) a parabola B) a horizontal straight line
C) a vertical straight line D) a circle
 
Answer & Explanation Answer: A) a parabola

Explanation:

Parabola, because when the coin is dropped at a particular point, it has the same velocity as the running train. So, by Newton's first law, it continues its motion horizontally with that velocity. But then, it is also pulled down by earth's gravity continuously. In this situation its horizontal motion gives way to the parabolic motion until it reaches the ground.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

Q:

Hot water is poured simultaneously in four metallic tumblers painted outside with different points. After some time the water will be found to have cooled most in the tumbler painted.

A) rough white B) rough black
C) shining white D) shining black
 
Answer & Explanation Answer: B) rough black

Explanation:

Black  surfaces are good emitters of heat ( They are also good absorbers of heat). If the black surface is rough too, the emitting will be better. So (b) is the correct answer. Shining surfaces reflect back radiation. So if the black surface is also shining the effectiveness of emitting heat is lessened.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

Q:

A man stands on the pan of a balance holding a fish in his right hand and bucket of water in his left hand. If he transfers the fish into the bucket, the total weight on the pan 

A) increases B) decreases
C) remains the same D) first increases and then decreases
 
Answer & Explanation Answer: C) remains the same

Explanation:

Before transferring the fish, the position is the man with the fish and the bucket of water. After transferring the position is: the man without the fish, but the fish inside the water in the bucket. Thus to know  whether there is any change in weight, it is enough to consider whether there is any change in weight when the fish in air is transferred into the water. The answer is there is no change as when in water though it loses weight due to upthrust of water on it, the level of water increases and exerts an equal force at the bottom.So, (c) is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

Q:

A man stands in a lift which accelerates upwards. The resultant reaction force on the floor of the lift is 

A) greater than the weight of the man B) less than the weight of the man
C) Same as the weight of the man D) Zero
 
Answer & Explanation Answer: A) greater than the weight of the man

Explanation:

The weight of the man mg is acting on the floor. As the lift is moving up with an acceleration, say a, the man too in it is having this acceleration. The force producing this acceleration is ma. By Newton's third law, this force will have an equal reaction pressing the floor equal to ma. Therefore the total resultant reaction on the floor is mg+ma = m(g+a) which is mg, the weight of the man. So (a) is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics