Questions

Q:

In the following pieces of code, B and D will compile without any error. True or false ?

A: StringBuffer sb1 = "abcd";

B: Boolean b = new Boolean("abcd");

C: byte b = 255;

D: int x = 0x1234;

E: float fl = 1.2;

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

The code segments B and D will compile without any error. A is not a valid way to construct a StringBuffer, you need to create a StringBuffer object using "new". B is a valid construction of a Boolean (any string other than "true" or "false" to the Boolean constructor will result in a Boolean with a value of "false"). C will fail to compile because the valid range for a byte is -128 to +127 (i.e., 8 bits, signed). D is correct, 0x1234 is the hexadecimal representation in java. E fails to compile because the compiler interprets 1.2 as a double being assigned to a float (down-casting), which is not valid. You either need an explicit cast, as in "(float)1.2" or "1.2f", to indicate a float.

Report Error

View Answer Workspace Report Error Discuss

7 10592
Q:

Suppose if we measure the time lapse between the two Sunsets by sitting in the beach , from this we can estimate 

A) The distance between the sun and earth B) The depth of the ocean
C) The radius of the earth D) The radius of the sun
 
Answer & Explanation Answer: C) The radius of the earth

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

45 10591
Q:

What one word has the most letters in it?

Answer

ALPHABET is the only has the most letters in it.


 


Alphabet has all the 26 letters from A - Z. 


 


Hence, ALPHABET is one word that has the most letters in it.

Report Error

View answer Workspace Report Error Discuss

10 10588
Q:

The earth is at its maximum distance from the Sun on :

A) January 30th B) December 22nd
C) September 22nd D) July 4th
 
Answer & Explanation Answer: D) July 4th

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

20 10573
Q:

Which action is safe for a pwc?

A) towing a skier behind a pwc rated for 3 people with two persons on board B) shutting off the engine before cleaning debris from the pump intake
C) seating a child to small to hold on the operator in front of the operator D) All the above
 
Answer & Explanation Answer: C) seating a child to small to hold on the operator in front of the operator

Explanation:

Two passengers behind the operator is safe for a PWC.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

7 10568
Q:

An object that has kinetic energy must be

A) At an elevated position B) Falling
C) At rest D) Moving
 
Answer & Explanation Answer: D) Moving

Explanation:

In physics, we know that the kinetic energy of an object is the energy that it possesses due to its motion. It is defined as the work needed to accelerate a body of a given mass from rest to its stated velocity.

Hence, An object that has kinetic energy must be in motion i.e, moving.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

10 10562
Q:

The world’s largest refinery and petrochemical complex will be set up in which Indian state  ?

A) Andhra Pradesh B) Uttarakhand
C) Telangana D) Maharashtra
 
Answer & Explanation Answer: D) Maharashtra

Explanation:

The three state-run Oil Marketing Companies (OMCs) – Indian Oil Corporation (IOC), Hindustan Petroleum Corp Ltd (HPCL) and Bharat Petroleum Corp Ltd (BPCL) have signed an agreement to jointly set up the world’s largest refinery and petrochemical complex at Ratnagiri district of Maharashtra at a cost of $40 billion. The IOC will hold 50% stake and HPCL & BPCL will will take 25% stake each in the new complex. The refinery will produce petrol, diesel, LPG, ATF and feedstock for making petrochemical that are basic building blocks in plastic, chemical and textile industries. The refinery is expected to be completed by 2022.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

54 10553
Q:

What region is also referred as the  " Garden of southern India " ?

A) Western Ghats B) Nilgiris
C) Cauvery Delta D) Cardamom Hills
 
Answer & Explanation Answer: C) Cauvery Delta

Explanation:

Cauvery river also known as Dakshin Ganga is one of the major rivers in the south Indian region. On its course to Bay of Bengal, Cauvery gets branched into many distributaries forming many fertile deltas. It is for this reason that Cauvery is also known as the “garden of southern India.”

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places
Exam Prep: Bank Exams , CAT

21 10553