I was just telling my daughter this morning that if she wanted to get into "programming" (she's nine years old, after all, so we'll dumb it down a bit) that she could get a job in just about any field, from cars to schools to working for NASA.
Some Adult: And what do you want to do when you grow up?
Your Girl: I want to program Smart Coffee Makers!
Edit: I would be very disappointed if an IoT coffee machine was not programmed in Java.
The smart coffee maker we got at the office a few weeks ago died after less than a week. I was betting the replacement wouldn't last much longer. It has made it 2 weeks now (and counting), so I would've lost that bet if I'd wagered real money.
There's something just a little perverse about a coffee machine that has a nicer screen on it than most budget laptops.
Java is a double-edged sword. On the one hand, it has powered much of the modern smartphone and smart device revolution. On the other hand, I think it has lowered the bar for what it takes to be a productive software developer, which will be to our detriment over the long run. Too many people writing code without understanding what happens under the hood. Yes, languages like Java are supposed to mean you don't NEED to know that... but they don't do a perfect job, and the results aren't pretty when things go off the rails.