subject

What will be the output when the following code segment is executed?
a) string str = "welcome to cst1201";
b) string code;
c) int len = str. length();
d) system. out. println(len);
e) system. out. println(str. charat(3));
f) system. out. println(str. substring(len-4);

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
Match the function to its purpose. fast worth 50pts.
Answers: 1
You know the right answer?
What will be the output when the following code segment is executed?
a) string str = "welcom...
Questions
question
Mathematics, 29.11.2019 23:31
question
Mathematics, 29.11.2019 23:31
question
Mathematics, 29.11.2019 23:31
question
Geography, 29.11.2019 23:31
Questions on the website: 13722363