IT 114: Introduction to Java
Class 16 Ungraded Quiz
-
Can objects hold more than 1 value>
-
Do objects have names?
-
What do you call a method that does not work with the values inside an object?
-
What would you write if you wanted to get the length
of the string str?
-
What would you write if you wanted to get the
first character of the string str?
-
What would you write if you wanted to get the
last character of the string str?
-
What would you write if you wanted to know if the
string str_1 was equal
to str_2?
-
What would you write if you wanted a copy of the
string str where all the
letters were lowercase?
-
What would you write if you wanted to create an array of
strings from the single string str
where the delimiter was "-"?
-
What would you write if you wanted to know whether
the string str has the
characters "hat" inside it?