Tag: technology

Questions Related to technology

If you use the CREATE DATABASE statement on an existing database, all data in the datafiles will be lost

  1. True

  2. False


Correct Option: A

Given: 55. int []x= {1, 2,3,4, 5}; 56.int y[] =x; 57. System.out.println(y[2]); Which is true?

  1. Line 57 will print the value 2

  2. Line 57 will print the value 3

  3. Compilation will fail because of an error in line 55

  4. Compilation will fail because of an error in line 56


Correct Option: B
  1. Line 35 will not compile.

  2. Line 36 will not compile

  3. Line 37 will not compile.

  4. Line 38 will not compile.


Correct Option: A,D