A variable on our screen

  • 2
  • Locked
Declare a String variable called name. In the line where we declare the variable, immediately assign it some value. Display the variable "name" on the screen.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Level 2 , Bengaluru, India
21 May, 04:07
public class Main{
         public static void main(String args[]){
                      String name = "name";