Identify the names of two variables used in the given code.
public class variables {
public static void main(string args[]) {
string strval = "hello";
int intval = 0;
system.out.println("integer: " +intval)
}
}
Answers
Answered by
4
.....variable name....
strval: of String class type.
intval: of int primitive data-type
Similar questions