well basically i have zero java knowledge, so don't mind me asking such kind of dumbass question( to you but not to me lol)
so, i have a .txt file in which there is a number in such line (for example, 0 and 1)
i want to print out "yes" if all numbers are 0,
print out "no" if all numbers are 1,
and print out nothing if the numbers are not the same, i.e. some are 0 and some are 1.
how can i do it?