re: Trying to understand blockchain by making one! VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

New to Java and I was referencing this for a Security course. I'm getting BlockchainExample cannot be resolved to a type.

Hi there, could you specify in which line you are getting this error?
And also, did you copy all the code? Not only part on black? There are lines at the top

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

public class BlockchainExample {

and also one
}
at the end.
I have checked it minute ago - code works.

code of conduct - report abuse