IT Trainer Questions


Q:

Why interface method is always public?

Answer

To make this method available to every implementation class

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: IT Trainer

0 2706
Q:

What looks back but cannot see?

Answer

Reflection is what which looks back but can't see.

Report Error

View answer Workspace Report Error Discuss

7 2705
Q:

Which is a reserved word in the java programming language?

A) Variable B) Identifier
C) Keyword D) Main
 
Answer & Explanation Answer: C) Keyword

Explanation:

Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.

Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).

If a reserved word was used as a variable you would get an error or unexpected result.

 

Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...

 

 

Report Error

View Answer Report Error Discuss

1 2696
Q:

Which of the following atoms has the largest radius?

A) Br B) K
C) Na D) Cl
 
Answer & Explanation Answer: B) K

Explanation:

For neutral atoms, the periodic trends in atomic size can be described like this

Atomic size decreases when going from left to right across a period,
Atomic size increases when going from top to bottom down a group.

 

Let's use these trends to try and figure out which atom would have the largest radius.

If you look at elements that are located in the same group, potassium will have a larger atomic radius when compared with sodium. Likewise, bromine will have a larger atomic radius when compared with chlorine.

Now focus on potassium and bromine. Since potassium is located at the start of period 3, and bromine at the end of the same period, potassium will have a larger atomic radius than bromine, and thus the largest atomic radius of the four given atoms.

Report Error

View Answer Report Error Discuss

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

3 2693
Q:

The word length of a computer is measured in

A) centimeters B) millimeters
C) bytes D) bits
 
Answer & Explanation Answer: D) bits

Explanation:
Report Error

View Answer Report Error Discuss

3 2691
Q:

What is the maximum number of characters when applying MsgBox and InputBox ?

Answer

The maximum number of characters allowed is 1024 characters.

Report Error

View answer Workspace Report Error Discuss

13 2690
Q:

3/8 as a decimal

A) 1.375 B) 2.375
C) 0.375 D) 3.75
 
Answer & Explanation Answer: C) 0.375

Explanation:

Expressing 3/8 as a decimal fraction:

We can convert 3/8 into a decimal fraction by just dividing 3 by 8 or making 3 into 8 parts.

Then, it is 3/8 = 0.375 as a decimal fraction.

 

Other Method::

3/8 as a Decimal :

In this we should convert the denominator into 10, 100, 1000, 10000, 100000,... to make it simple.

Now to make 8 into 1000, we multiply numerator and denominator with 125

 

=> (3 x 125)/(8 x 125) = 375/1000 = 0.375.

 

Report Error

View Answer Report Error Discuss

3 2682
Q:

What occurs once in a minute twice in a moment?

Answer

Here the letter 'M' appears once in Minute and twice in a MoMent.

Report Error

View answer Workspace Report Error Discuss

5 2674