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 2773
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 2761
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 2756
Q:

A practice to learn something

a_practice_to_learn_something1551439875.jpg image

A) Poem B) Summary
C) Lesson D) Introduction
 
Answer & Explanation Answer: C) Lesson

Explanation:

A practice to learn something is a Lesson.

Report Error

View Answer Report Error Discuss

4 2748
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 2744
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 2742
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 2739
Q:

What is Primary Key in DBMS?

Answer

A primary key is a special relational database table column or combination of columns designated to uniquely identify all table records. That is, A primary key is a column or set of columns in a table that uniquely identifies tuples (rows) in that table.


A primary key, also called a Primary Keyword.



Main Features Primary key are ::


It must contain a unique value for each row of data.


It cannot contain null values.

Report Error

View answer Workspace Report Error Discuss

12 2732