Programming Languages: Java, JCL, and Perl

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Assume @list contains (“1”, “2”, “3”, “4”, “5” ). What is the content of @list after the following statement splice (@list, -1, 1, “test1”. “test2”);

  1. (“1”, “2”, “3”, “4”, “test1”, “test2”)
  2. ( “2”, “3”, “4”, “test1”, “test2”)
  3. (“1”, “3”, “4”, “test1”, “test2”)
  4. (“1”, “test1”, test2”, “2”, “3”, “4” )
Change Mode