Can I use java as backend programming

I have knowledge on java but in node.js . I wanted to create an application in strapi with Java for backend API development. What is the way to do that?. Is it possible to write the application in java?

There is a big difference beteen JAVA and Javascript
It’s like a Car and Carpet completely different.
Can you build things in java yes. Can you do strapi in Java no not really as it’s built with JavaScript.
Unless you build everything from the ground up which would defeat the point of use strapi.

Yes, it’s possible to write applications in Java. Java is a versatile and widely-used programming language known for its platform independence, making it suitable for a variety of applications, including web, mobile, desktop, and enterprise-level software.