Are k-nearest neighbor and k-means clustering both supervised and/or unsupervised?

If you can, answer the question below: Write your answer in the comment box.
Are k-nearest neighbor and k-means clustering both supervised and/or unsupervised?