Database Administration Questions


Q:

What is String Args in Java?

Answer

String Args (String []) is an array of parameters of type String.


In Java, 'args' contains the supplied command-line arguments as an array of String objects. In other words, if you run your program as 'java MyProgram Hello World' then 'args' will contain ["Hello", "World"]. When a java class is executed from the console, the main method is what is called.

Report Error

View answer Workspace Report Error Discuss

9 2420
Q:

'Barren Island' which is the only active volcano in India is situated in?

A) Rajasthan B) Andaman-Nicobar
C) Chattisgarh D) Lakshadweep
 
Answer & Explanation Answer: B) Andaman-Nicobar

Explanation:

The only active volcano in India is situated in Andaman-Nicobar islands.

Report Error

View Answer Report Error Discuss

2 2414
Q:

Statement: A large number of students who have passed their XII Std. terminal examination in the country could not get admission to colleges as the number of seats available are grossly inadequate.
Courses of action:
a. The evaluation system of XII Std. terminal examination should be made more tough so that fewer students pass the examination.
b. The Government should encourage the private sector to open new colleges by providing them land at cheaper rate.
c. The rich people should be asked to send their wards to foreign countries for higher studies enabling the needy students to get admission in colleges within the country.

A) only a and b follows B) Only c follows
C) Only b follows D) All a, b & c follows
 
Answer & Explanation Answer: C) Only b follows

Explanation:

Clearly, reducing the number of aspirants for admission to colleges or sending the students of well-to-do families to foreign countries for higher studies, is no proper solution. So, both I and III do not follow. The right solution is to increase the number of colleges so as t accommodate the increasing number of admission-seekers. So, only II follows.

Report Error

View Answer Report Error Discuss

4 2411
Q:

I have four wings, but cannot fly, I never laugh and never cry; On the same spot I'm always found, toiling away with little sound.

 What am I?

Answer

A Windmill.

Report Error

View answer Workspace Report Error Discuss

3 2410
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 2405
Q:

Name one problem that led to the civil war.

A) Slavery B) Economic reasons
C) State's Rights D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

0 2393
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 2390
Q:

Bleaching powder is used in drinking water as

A) Disinfectant B) Antibiotic
C) Coagulant D) Antiseptic
 
Answer & Explanation Answer: A) Disinfectant

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2385