0

programming languages Online Quiz - 151

Description: programming languages Online Quiz - 151
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. xml file

  2. dtd file

  3. xsl file

  4. Both 1 and 2


Correct Option: B
  1. eXtra Modern Link

  2. eXtensible Markup Language

  3. Example Markup Language

  4. X-Markup Language


Correct Option: B
  1. Direct Type Definition

  2. Document Type Definition

  3. Do The Dance

  4. Dynamic Type Definition


Correct Option: B

Methods can be overloaded with a difference only in the type of the return variable.

  1. True

  2. False


Correct Option: B

All interface methods must be declared as public when implemented in a class.

  1. True

  2. False


Correct Option: A

All interface methods must be declared as public when implemented in a class.

  1. True

  2. False


Correct Option: A

A method in a class declared as static can only access static class members.

  1. True

  2. False


Correct Option: A

What will happen when you attempt to compile and run the following code? int Output = 10; boolean b1 = false; if((b1 == true) && ((Output += 10) == 20)) { System.out.println("We are equal " + Output); } else { System.out.println("Not equal! " + Output); }

  1. Compilation error, attempting to perform binary comparison on logical data type.

  2. Compilation and output of "We are equal 10".

  3. Compilation and output of "Not equal! 20".

  4. Compilation and output of "Not equal! 10".


Correct Option: D

Which is the manadatory tag in JRXML file structure?

  1. Header

  2. Title

  3. Detail

  4. JasperReports


Correct Option: D

What is the output file format when you compile the jrxml file?

  1. JRPrint file

  2. Jasper file

  3. html file

  4. None of the above


Correct Option: B

Is it possible to embed a image in jasper Reports?

  1. True

  2. False


Correct Option: B

Is it possible to validate the data using Jasper reports?

  1. True

  2. False


Correct Option: B
- Hide questions