I am 30 years old and starting to learn JAVA programming. Is there a future?

Of course there is a future, provided you study hard and master it. You are 30 years old now. Even if you study for 3 years and fully master JAVA at the age of 33, you have to know that you can still work for at least 25 years from the age of 33. In the next 25 years, what you have learned can be used effect.

Of course, if LZ is just too sad today and wants to post a post to find some comfort, then it makes no difference whether he learns or not.

The key is to look at yourself. A 30-year-old is still young and still has a future. When you are 45 or 50 years old, then don’t think about what to study. By this time it was too late.