I am new to programming,(Java)

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



I am new to programming,(Java)



I an trying to code a input and output program some how its keeps giving me errors in the "int name=in.nextInt();" and the brackets. i keep looking at the issues and fixing but nothing seems to work. i want the user to answer a series of questions such as what is your name,enter your age,enter your favorite food.


public class Main

public static void main(String args);

Scanner Int=new Scanner(System.in) ;

int n;



System.out.print("What is your name", args) ;
int name=in.nextInt();


}

}









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

BsR71I,PjLb8bGcuT,guMSxOjr P2mx,qaR xSD4y Gq,CiFbCt MVsTz8ocjXdjuJX4wY01
0FY O,fG Md0gaenfsu sD gPUv4lhSAVrgMegbYGcy0cHhGlhk,oWwAJJLfriX,LxYSxOTCb4hw0

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3