Answer:
hehe the drawing toolbar has been used for school and block and Jerry hall is good enough
Answer:
The answer is option 1 arr.length.
Explanation:
In java arr.length gives the correct number of elements in the array.The length is function is only applicable for arrays.
The length() method is applicable for strings.
arr.length-1 will give 1 element less.
There is no .size for arrays in java.
So we conclude that arr.length is correct way of getting the number of elements in one dimensional array arr.
Answer:
1) B: ++ and --
2) B: 111... and on forever
Explanation:
++ and -- in most programming languages are used for incrementing(adding) by 1 or decrementing(substracting) by 1.
The code will output 111... and on forever because the while loop was not covered in curly braces.
A router.
------------------------------------
Subscript
Reference: Chapter 5 of 'An Object-Oriented Approach to Programming Logic and Design's by Joyce Farrell