Qtr No. 213, New Town Yehlanka Indore 454775
Which of the following options will not compile and execute successfully?
I. var covid="Corona Test"
println(covid+"is a type of test")
II. val covid:String = "Corona Test"
println(covid+" a horse ");
III. val covid='Corona Test'
println(covid=covid+Test)
IV. var covid="Corona Test"
println("Covid :"+(covid=covid+" " +covid)
Only i and ii
Only iii
Only i and iv
Only ii and iii
To get all Infosys Certified Scala Programmer Exam questions Join Group https://bit.ly/infy_premium_group
We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.
Qtr No. 213, New Town Yehlanka Indore 454775
admin@prepflix.in