For some very easy pints could someone tell me what the basic command is to read text entered and put it in a variable.
ie when i print out
System.out.println("Enter subject name: ");
I want to put it in a string variable called subject. How do I read it into the variable? Pathetically simple i know but it's wreckin my head and i can't find any question as simple as this on the website anywhere. Thanks