0
Q:

What would be the output of the following program? 

Additional Details

main()

{

  int i=2 ;

  printf ("n%d%d", ++i, ++i );

}

 

Answer:



Q:

public static void main string[] args Meaning is?

Answer

Here in this declaration public static void main string[] args, each keyword has its importance.


1. public - Here public is an access specifier which allows the main method to be accessible everywhere.


2. static - static helps the main method to get loaded without getting called by any instance/object.


3. void - void clarifies that the main method will not return any value.


4. main - It's the name of the method.


5. String[] args - Here we are defining a String array to pass arguments at the command line. args is the variable name of the String array.

Report Error

View answer Workspace Report Error Discuss

5 55
Q:

The coding or scrambling of data so that humans cannot read them, is known as _____.

A) Compression B) Encryption
C) Ergonomics D) Biometrics
 
Answer & Explanation Answer: B) Encryption

Explanation:

The coding or scrambling of data so that humans cannot read them is known as encryption.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: Programming

9 316
Q:

In programming, repeating some statements is usually called  ?

A) Running B) Structure
C) Looping D) Control structure
 
Answer & Explanation Answer: C) Looping

Explanation:
Report Error

View Answer Workspace Report Error Discuss

Filed Under: Programming
Job Role: Analyst , IT Trainer

6 484
Q:

Write a quick script for launching a new activity within your application.

Answer

An explicit intent explicitly defines the activity the developer wishes to start. 


Script code :


Intent myIntent = new Intent(this, MyNewActivity.class);


startActivity(myIntent);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

9 528
Q:

A source program is the program written in which level language  ?

A) Alpha Numeric B) High-Level
C) Symbolic D) Machine
 
Answer & Explanation Answer: B) High-Level

Explanation:
Report Error

View Answer Workspace Report Error Discuss

Filed Under: Programming
Exam Prep: Bank Exams
Job Role: Analyst , Database Administration , IT Trainer

2 852