Questions

Q:

what will be the output of the following code?

class Value
{
    public int i = 15;
}
public class Test
{
    public static void main(String argv[])
    {
        Test t = new Test();
        t.first();
    }
    public void first()
    {
        int i = 5;
        Value v = new Value();
        v.i = 25;
        second(v, i);
        System.out.println(v.i);
    }
    public void second(Value v, int i)
    {
        i = 0;
        v.i = 20;
        Value val = new Value();
        v =  val;
        System.out.println(v.i + " " + i);
    }
}

A) 15 0 2 B) 15 0 0
C) 15 20 0 D) 15 0 20
 
Answer & Explanation Answer: D) 15 0 20

Explanation:
Report Error

View Answer Report Error Discuss

3 5948
Q:

Water is a compound because it?

A) it contains two different elements joined by chemical bond B) it contains hydrogen & oxygen
C) it exists as solid, liquid or gas D) it cannot be split up into simpler substances by chemicals means
 
Answer & Explanation Answer: A) it contains two different elements joined by chemical bond

Explanation:

We know that All compounds are molecules, but not all molecules are compounds.

Water is a molecule because it is made from atoms that have been chemically combined. It is also a compound because the atoms that make water are not all the same - some are oxygen and some are hydrogen.

 

Hence, Water is a molecule and a compound.

Report Error

View Answer Report Error Discuss

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

7 5946
Q:

The book ' Gullivers Travels ' was written by

A) Charles Lamb B) Charles Dickens
C) Alexander Dumas D) Jonathan Swift
 
Answer & Explanation Answer: D) Jonathan Swift

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

8 5943
Q:

The State having the highest density of population is 

A) Kerala B) Tamil Nadu
C) West Bengal D) Uttar Pradesh
 
Answer & Explanation Answer: C) West Bengal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

7 5942
Q:

Which one do you need for tennis

A) A helmet B) A racket
C) Flippers D) A basket
 
Answer & Explanation Answer: B) A racket

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

12 5940
Q:

Which State Cabinet has agreed on the creation of Vijayanagara district as its 31st District?

 

 

A) Andhra Pradesh B) Karnataka
C) Telangana D) Tamil Nadu  
 
Answer & Explanation Answer: B) Karnataka

Explanation:

The Cabinet of Karnataka has agreed the creation of Vijayanagara district as the 31st District of Karnataka.

The Vijayanagara district will include Hampi, the capital of Vijayanagara empire.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 5935
Q:

The number of pincode postal regions in india is 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

24 5933
Q:

Nuclear energy is a mineral based source, it is derived from

A) Uranium B) Thorium
C) Plutonium D) All of these
 
Answer & Explanation Answer: D) All of these

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

7 5930