You have the following snippet of code:
fun main() {
val x: Int = 10
val y: Int = 25;
val z = x + y
println("The sum of $x + $y is $z")}
Select the lines that violate the code style convention.
You have the following snippet of code:
fun main() {
val x: Int = 10
val y: Int = 25;
val z = x + y
println("The sum of $x + $y is $z")}
Select the lines that violate the code style convention.
Create a free account to access the full topic