[Solved] Compare two files in Java [closed]


Use fileInputStream then use two nested for loop O(n^2) i know, just for now.
then use .hasNext() <– boolean for your stream object and if true use .next() which checks line by line

solved Compare two files in Java [closed]