Aliensbrain
  • Home
  • Topics
  • Quizzes
  • Notebooks
  • Community
  • Sign in
  • programming languages Online Quiz - 144
  • package varargs; public class TestVarargs1 { public static ...

package varargs; public class TestVarargs1 { public static void displayVal(String... str) { for (String strValue : str) { System.out.println("String value............." + strValue); } } public static void displayVal(int... integer) { for (int intValue : integer) { System.out.println("Integer value............." + intValue); } } public static void main(String[] args) { displayVal(); } }

technology programming languages
  1. String value.............null

  2. Exception

  3. Compiler Error

  4. Integer value.............0


Show answer
Correct Option: C

Find more quizzes:

© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy