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

13 10907
Q:

Energy is continuously generated in the sun due to

A) Nuclear fusion B) Nuclear fission
C) Radioactivity D) Artificial radioactivity
 
Answer & Explanation Answer: A) Nuclear fusion

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

17 10906
Q:

Bulo C. Rani was associated with which of the following fields

A) Politics B) Music
C) Journalism D) Sports
 
Answer & Explanation Answer: B) Music

Explanation:

Bulo Chandiram Ramchandani popularly known as Bulo C. Rani was a prominent Indian music director in Bollywood from the forties till sixties.

He scored music for 71 films from 1943-72.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank PO

14 10873
Q:

The information of brilliant colors in a thin soap film is a consequence of the phenomena of

A) Polarization and interference B) Diffraction and dispersion
C) Multiple refraction and dispersion D) Multiple reflection and interference
 
Answer & Explanation Answer: D) Multiple reflection and interference

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

40 10859
Q:

What was the toughest decision you ever had to make?

Answer

“What was the toughest decision you ever had to make?” that means they want to gauge your ability of decision even if there is really hard to choose between any two.


They want to hear on what circumstances what will be your priorities and values you take while taking a decision which can effect a lot and most important to it.


Your decision skills are shown to interviewer that you answer will reflect. You must be accurate in your answer and try to explain the conditions and evidences upon which you taken such decision. Also you can tell how those decisions are beneficial for you in further life.


 


Best Answer for “What was the toughest decision you ever had to make?”


There are 2 toughest decisions that I ever made in my life.


The first one is about to choose my career. I want to be an engineer but my parents planned for me something else because of financial problems. At that time this decision was toughest for me to choose parents planned career path or my own. But I go against to my parents path and tried my best to get the scholarship from college, which I also did giving my best performance.


Second decision that I have taken is to choose between job and higher studies. In this I have chosen to do job only. I have to learn more within the job and get an experience in my field. I also want to emphasize my skills and gain more knowledge in reputed company.

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

8 10851
Q:

A source program is the program written in which level language  ?

A) Alpha Numeric B) High-Level
C) Symbolic D) Machine
 
Answer & Explanation Answer: B) High-Level

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming
Exam Prep: Bank Exams
Job Role: Analyst , Database Administration , IT Trainer

15 10837
Q:

Ryder Cup is associated with which game?

A) Golf B) Tennis
C) Hockey D) Cricket
 
Answer & Explanation Answer: A) Golf

Explanation:

Ryder Cup is associated with GOLF game.

The Ryder Cup is a biennial men's golf competition between teams from Europe and the United States.

The competition is contested every two years with the venue alternating between courses in the United States and Europe.

Report Error

View Answer Report Error Discuss

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

10 10830
Q:

 Goa Shipyard Limited (GSL) was established in

A) 1955 B) 1956
C) 1957 D) 1958
 
Answer & Explanation Answer: C) 1957

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

52 10829