This code is for local file.
Code:
ImageIcon picture = new ImageIcon("C:\\Users\\User\\Pictures\\abc.jpg");
Code:
ImageIcon picture = new ImageIcon("abc.jpg");
Thanks.
ImageIcon picture = new ImageIcon("C:\\Users\\User\\Pictures\\abc.jpg");
ImageIcon picture = new ImageIcon("abc.jpg");
int binary = 0;
int sum;
while(binary<256)
sum = 0;
for(go through all 8 digits)
if the i-th digit is 0
sum += i
if the i-th digit is 1
sum -= i
end for
if sum == 0
Leave a comment: