text = text.toUpperCase();
Type: Posts; User: welikedogs
text = text.toUpperCase();
import java.util.*;
import java.io.File;
class assignment1{
public static void main (String[] args) throws Exception{
File alicefile = new File("alice.txt");
Scanner scan = new...
Tried a while loop. But i only know how to scan next line untill there is no more. Im not sure how to read a certain amount of lines. This is what i need a bit of help with. :)
Hey guys my names scott and this is my first post. I just recently started using java and am still very basic.
I want to read a certain amount of lines of text from a file. I'm not sure which...