22 AnswersNew Answer
🍿nom... nom... nom... 🥤slurp... sluuurp... 🤫 Oops... Don't mind me. I'm just enjoying the show. 🤓👌
It depends on what you wish to use Java for. If your intention is to create Android applications then you don't need to learn either. Android applications can use the Android SDK. Similarly Java Server Pages (JSP) do not use the Java gui framework. If you wish to create Java desktop applications then JavaFX is the newer framework, though Java Swing is still supported. However, there are still a lot of applications using Java Swing. So if you will be maintaining or porting existing code knowing Java Swing will be useful.
IEEE Spectrum states that it pulls github to make it's predictions. Of course that is a rubbish metric. Any idiot can create a public github account. W3Techs on the other hand measures the top 10 million web sites based on traffic. This is why it is important to read how the metrics are quantified. As the old saying goes "There are lies, damned lies, and statistics". Statisticaly 100% of people that breathe air die, so the conclusion is that air is toxic. You are the one that said "Java is used mostly in web development" I was just pointing out some web statistics from a company that monitors web servers. That's also why I mentioned that applets are dead since web development includes the client side code. It is important when posting links to external sources to at least attempt to verify that they are reputable. After all I can find websites that say the world is flat, and the lizard aliens are controlling the world's governments. Which is rubbish of course because how can the world be flat if it's hollow, and the illuminati control the governments. I can give you the links to prove it.
@Aleksandrs. Java is rarely used in web development. Java applets died years ago due to security issues and Java only has a 3.3% share of the server side market. Compare that with 78.9% for PHP and 9.7% for ASP.Net. https://w3techs.com/technologies/overview/programming_language
@Azizbek Rasulmetov If you wish to do Android development then just study the core Java language and classes. The Android API documentation is on the Android developer's site... https://developer.android.com/reference There is a lot of information on the Android Developer's site see also... https://developer.android.com/docs
@Aleksandrs. If you think that the information from w3techs is rubbish then please provide a more authorative link. W3Techs review the top 10 million websites so I would deem it to be fairly accurate. As for where Java is used. Java is used in Java Server Pages but it is not as common as other languages. Java is also used to develop cross platform software (Eclipse IDE) and Mobile applications (Android). It can also be used in embedded systems (Java ME) and smart cards (Java Card). There is even a version of Python written in Java (Jython). Edit: As for your comment "There are hundreds of thousands of server-side apps written in Java". Yes, I agree. 10,000,000 * 3.3% = 330,000 that's hundreds of thousands according to my math.
JavaFx is modern Java framework. it's flexible and easy to use and using CSS styling 😊
it's choice based if you want than learn because you need to be aware of all types of languages not much but atleast basics
Martin Taylor Where is Java used then, may I ask? This diagram is bunch of nonsense. PHP is leading there because most of the pages they checked are simple sites and blogs written using WordPress. There are hundreds of thousands of server-side apps written in Java used by huge banks and e-commerce companies. And how did you come up with the idea I proposed using applets, if I suggested using html, css and React/Angular for ui?
@Martin Taylor I want to be an Android developer
Thanks guys for all the info☺
@Martin Taylor Github and Google is a starting point to filter out obscure languages. How 11 metrics are used to rate languages is not described in the article. How is it worse than just monitoring 10 millions of websites? Ok, there are billions of websites written using WordPress. Most of them are written like, in one or two days. How this statistics can deny the fact that Java holds the majority of market in enterprise web development for 20 years already? "Java is used mostly in web development" in terms of Java web-desktop usage. You can easily verify this by trying to find a job as Java desktop applications developer. You will look for ages. And even if you'll be able to find one, it will probably be some legacy written 15 years ago. JavaFx and Swing are complete waste of time, especially for junior developers.
Azizbek Rasulmetov if you want to be android developer you dnt have to learn it. You may put your foccus on java SE and kotlin.
Learn javafx. Its the future. Javafx is the modern way of creating graphical user interfaces for desktop applications.
It's your wish you are a developer. You can do everything your way.
Martin Taylor Of course the world is not flat! The world is the inside of a (3- Dimensional circle, what is the english word?). You can see this on your shoes which get curvatured! And the nearer anything is to the middle the smaller it gets. so from our view we can travel as far as we want, as we will never reach the middle!!!!!!!
But I want to be an android developer, I think no need to learn it for me.
I have learned Java. Shall I start learning Android development?
NO you should learn more languages IT WILL BE BEST FOR INCREASING UR KNOWLEDGE IN CODING..