Here is the code for a program that creates 3 variables of different types, but the values they are initialized with are missing. Set the proposed values in such a way that no type mismatch error occurs in the program.
Types and variables
Type matching
Report a typo
Fill in the gaps with the relevant elements
public class Main {
public static void main(String[] args) {
String a = ;
int b = ;
double c = ;
var d = ;
}
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.