Hello Everyone, Can anyone explain to me how will I print 10 random numbers using forEach of java 8? Can anyone explain me with the syntax. Actually, I am preparing some topics for the java 8 interview and I have doubts regarding this. If anyone knows please suggest me.