public class Main { public static void main(String[] args) { String name = "Alice"; int age = 30; // TODO: use printf to print "Name: Alice, Age: 30" } }
Output
Click Run to execute, or Check to validate.
Ask questions or share tips about this tutorial
Sign in to join the discussion