programming languages Online Quiz - 97
Description: programming languages Online Quiz - 97 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Function to delete file in Perl is
Which of the following is not a program module
Given: 10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile?
Given: 11. public void testIfA() { 12. if (testIfB("True")) { 13. System.out.println("True"); 14. } else { 15. System.out.println("Not true"); 16. } 17. } 18. public Boolean testIfB(String str) { 19. return Boolean.valueOf(str); 20. } What is the result when method testIfA is invoked?
public String makinStrings() { 12. String s = “Fred”; 13. s = s + “47”; 14. s = s.substring(2, 5); 15. s = s.toUpperCase(); 16. return s.toString(); 17. } How many String objects will be created when this method is invoked?
IN a VSAM KSDS Read statement AT END should be specified only during?
The maximum number of dimensions that an array can have in COBOL-85 is
"Identify the incorrect statement "
"following COBOL definitions and indicate when the statements are valid (True) or invalid (false): 05 LOCATION-CODE PIC 99. 88 NEW-YORK VALUE 10. 88 BOSTON VALUE 20. 88 DETROIT VALUE 30. 88 NORTH-EAST VALUE 10 20."