Edit Game
String & Math Methods in Java
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   10  Close
System.out.print("Welcome\n" + "\"Everyone\"");
:)
What is the output of the following line of code?
20.0
What is the output of the following line of code?
74.0
What is the output of the following line of code?
1000.0
What is the output of the following code segment?
Program
What is the output of the following line of code?
10.0
What is txt.charAt(6)?
W
Which String method returns the index (the position) of the first occurrence of a specified character in a string?
indexOf()
Which Java method is used to find the length of a String?
length()
True or False: String is a reference data type.
True