If you want to learn programming as a hobby i would strongly recommend Python simply because it is easier to code than both the languages mentioned. In fact most of the products you have used started off as python projects example: Instagram, facebook, dropbox etc.
Between Java and .Net i would...