Developer Test

Description

developer test
Ankit Sharma9738
Quiz by Ankit Sharma9738, updated more than 1 year ago
Ankit Sharma9738
Created by Ankit Sharma9738 over 8 years ago
13
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

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
COP 1000 - Intro to Computer Programming (Final Exam)
Taylor Walker
Python Quiz
karljmurphy
computer systems and programming quiz
Molly Batch