Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jdbc insert example from input values

// 0. read user input from command line: last name, first name and email
Scanner scanner = new Scanner(System.in);

System.out.print("Enter your last name: ");
String lastName = scanner.nextLine();
System.out.print("Enter your first name: ");
String firstName = scanner.nextLine();
Source by www.luv2code.com #
 
PREVIOUS NEXT
Tagged: #jdbc #insert #input #values
ADD COMMENT
Topic
Name
9+7 =