Update Code/Classes/supplier.java

Name:from public to private
+
add getting