Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. int [] a;
- 2. 0
- 3. 29
- 4. null
- 5. a[6]
- 7. a.length
- 8. true
- 13. 48.3
- 14. null
- 15. 3
- 36. The array was initialized with 3 elements and can't take a fifth element.
- 37. There are no negative indexes in an array.
- 38. When calling an element you need to use regular brackets instead of curly ones.
- 40. The brackets must follow the data type, and if you are declaring the elements while initializing it, you must not declare the number of elements in the array.
- 42. You are not supposed to initialize the length, because it will return a value on its own.
- 44. All the value in an array must be of the same data type or object type.
- 45. If you are declaring the elements while initializing it, you must not declare the number of elements in the array.
- 73. Arrays allow you to store multiple pieces of data at once: advantage.
- Arrays confine you to one data type: disadvantage.
- 75. This is a disadvantage, because you don't know where there error is, and what it is, and you won't know if there is a problem with your code or if the out put you get is just the regular output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement