What will be the value of message variable when printed ?
var message = "Apple is my favorite fruit" //Line 1 message.replacingOccurrences(of: "Apple", with: "Mango") //Line2 print(message)
To get all Infosys Certified iOS Swift App Developer Exam questions Join Telegram Group https://grateful.prepflix.in/infy-lex-pdfs