Q:

What is immutable object? Can you write immutable object ?

Answer

Immutable classes are Java classes whose objects can not be modified once created. Any modification in Immutable object result in new object. For example is String is immutable in Java. Mostly Immutable are also final in Java, in order to prevent sub class from overriding methods in Java which can compromise Immutability. You can achieve same functionality by making member as non final but private and not modifying them except in constructor.

Report Error

View answer Workspace Report Error Discuss

3 2847
Q:

What time of year do squirrels build nests?

A) Winter B) Summer
C) Rainy D) Monsoon
 
Answer & Explanation Answer: B) Summer

Explanation:

Squirrels typically build leaf nests in the summer by weaving together small branches they've gnawed off of trees. These nests are lined with grass, moss, leaves and pine needles. Both male and female gray squirrels of all ages participate in building dens.
 

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

12 2846
Q:

Choose the pair in which the words are differently related?

A) Jewellery : Gold B) Table : Wood
C) Shirt : Fabric D) Iron : Axe
 
Answer & Explanation Answer: D) Iron : Axe

Explanation:

In all other pairs, first is a product made from the second.

Report Error

View Answer Report Error Discuss

Filed Under: Classification

22 2846
Q:

How can we get the browser properties using PHP?

Answer

By using
$_SERVER['HTTP_USER_AGENT']
variable.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2846
Q:

How many closed rectangular boxes are there in the following figure?

 

A) 6 B) 5
C) 7 D) 8
 
Answer & Explanation Answer: D) 8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: AIEEE , Bank Exams , CAT

0 2846
Q:

In the following question, select the related number from the given alternatives.

50 : 65 : : 122 : ?

 

 

 

A) 157 B) 145
C) 147 D) 155
 
Answer & Explanation Answer: B) 145

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: Bank Exams

0 2845
Q:

A kiddy bank of a child contains all Rs. 1, 50 paise and 25 paise coins. What is the total amount in the bank ?
(1) Total number of coins are 20
(2) The number of 50 paise and 25 paise coins are in the ratio of 7:3.

A) only 1 is needed B) only 1 is needed
C) Both and 2 are needed D) None
 
Answer & Explanation Answer: C) Both and 2 are needed

Explanation:

Given that 50 paise and 25 paise coins are in the ratio of 7:3, they can be either 7 & 3 or 14 & 6.
As total 20 coins also includes Rs. 1 coins, so 50 paise & 25 paise coins are 7 & 3 respectively & Rs. 1 coins are 10.
Total amount = (100x10) + (50x7) + (25x3)=1425 paise or Rs.14.25.

Report Error

View Answer Report Error Discuss

Filed Under: Arithmetical Reasoning
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

1 2845
Q:

I come in different colors and shapes. Some parts of me are curvy, some are straight. You can put me anywhere you like, but there is only one right place for me. What am I?

Answer

A Jigsaw puzzle.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

32 2845