.Net is a more secure platform compared to Java because .Net is a closed platform and it is managed by Microsoft experienced developers. If there are any security problems, Microsoft .Net developers solve these issues with the latest technologies. In the case of Java, it is difficult because of the open-source platform in nature and less active community active online compared to .Net.
.Net framework supports more languages than Java. For java programmers, in case of any issues, they have to get support from only java programs and need to manually code for a selection of JE frameworks for getting support from other languages.
.Net IDE Visual studio code has a lot of tools to create, test, debug, deploy the applications but for Java developers, they do not have these kinds of tools in Java’s IDE. They have to choose different IDEs for different features.
If you are interested to learn Java, you can enroll in this Java course by Intellipaat.
You can watch this video on Java vs .Net for better comparison: