null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
4081276
Developer Test
Description
developer test
No tags specified
developer test
java
programming
Quiz by
Ankit Sharma9738
, updated more than 1 year ago
More
Less
Created by
Ankit Sharma9738
over 8 years ago
13
0
0
Resource summary
Question 1
Question
What will be the output of the program? String x = "xyz"; x.toUpperCase(); /* Line 2 */ String y = x.replace('Y', 'y'); y = y + "abc"; System.out.println(y);
Answer
abcXyZ
abcxyz
xyzabc
XyZabc
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Useful String Methods
Shannon Anderson-Rush
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush
Java Week 5 Object Oriented Programming
Troy Bowlin
Flvs foundations of programming dba 2
mariaha vassar
Programming Review
Shannon Anderson-Rush
Programming in Java
Faheem Ahmed
Java
Anika Patry
COP 1000 - Intro to Computer Programming (Final Exam)
Taylor Walker
Python Quiz
karljmurphy
computer systems and programming quiz
Molly Batch
Browse Library