Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

COLLEGE OF SAINT AMATIEL

118 Int. Gen. Luna St., San Agustin, Malabon City

Name: Moyo, Sean Kenji R.


Course Description: Computer Programming
Professor: Sir Simon Ceazar
Day/Time: May 30, 2022
FINALS
1. C. 8
2. A. 32 and 64
3. B. int to long
4. A. int Integer = 24;
5. C. Compile Error
6. B. 127
7. B. char[] ch = new char[5]
8. B. 120 200 14
9. A. The reference of the array
10. B. int[] A = {1, 2, 3}
11. B. 1
12. B. Objects
13. A. At run time
14. C. A package is a collection of classes and interfaces
15. D. I, II and III
16. B. Static
17. B. Only Solution Class
18. A. java.lang.Object
19. C. An int value
20. B. bc
21. D. -1
22. C. onetwo
23. A. Replaces single occurrence of ‘e’ to ‘s’.
24. A. java.lang
25. B. 3
26. C. 13
27. B. Compile error as ++a is not valid identifier
28. A. TRUE
29. A. 50
30. B. void
31. D. 4.0
32. B. Stack
33. D. Static
34. B. Instance variables
35. B. A class object in which it is defined
36. A. Before garbage collection
37. A. Public class Solution {}
38. E. Both (A) and (B)
39. D. 6
40. C. 10
41. D. All of the above
42. B. Interface
43. A. catch
44. C. ArithmeticException
45. A. java.lang.package
46. D. Collection
47. D. It can be calledOne or more time
48. D. Zero fill right shift
49. B. Use of pointers
50. D. JDB

You might also like