Deloitte interview question

how many way to create interface? Question on java 8 versoin in depth?