This is the method that tells you how long your string is.
What is .length()?
This is what is returned when you call in indexOf for something that is not in an array.
What is -1?
Convert 10000 in binary to decimal.
What is 16?
These are the three parts of any type of iteration.
What are initialization, condition, and incrementation?
An instance of a class is called this.
What is an object?
If you have String s = "Don't eat cookies"; and you print out s.substring(10,14), this is what gets printed.
What is cook?
This is the difference between using a "for" loop with an array and a "for each" loop.
What is for-each loops can only be used to access elements in an array, while for loops can be used to change elements in an array?
Convert 72 from octal to decimal.
What is 58?
The difference between style and syntax.
What is syntax is something that the computer cannot read because it is incorrect and style is readable by the computer and the choice of the programmer?
An object's data elements are called this.
What are fields?
This is the escape character for a new line.
What is \n?
The result of this segment of code:
int []x={1, 3, 5, 7, 9, 11};
int sum = 0;
for(y:x)
{
sum+=y;
}
What is the elements of the array get added together and the sum is equal to 36?
Convert 429 from decimal to hex.
What is 1AD?
The equivalent expression to !(A&&!B).
What is !A||B?
These are procedures for creating an object.
What are constructors?
Explain what it means when it is said that strings are immutable.
What is strings make new strings and cannot just have a method upon them without setting it equal to a string?
The way to access individual elements of the array.
What is using it's index?
Convert B9E from hex to octal.
What is 5636?
The use of a switch statement.
What is to simplify code where you would otherwise have a lot of if/else cases?
These are inherited from a parent class.
What are fields and methods?