When comparing Learn Java vs Udacity, the Slant community recommends Udacity for most people. In the question“What are the best websites to learn to code?” Udacity is ranked 3rd while Learn Java is ranked 35th.
Ranked in these QuestionsQuestion Ranking
Learn Java provides an editor right on the web page where you can practice your code and follow along with the tutorial.
Learn Java is completely free to use and will always be free.
Pro Simple interface
The interface is very straight-forward and well layed out.
Pro Courses taught by industry professionals
Pro All courses are self-paced
Courses are always made available which means there is no waiting for the specific course you want to run. You can work through the courses as fast or as slow as you want.
Pro Offers Nanodegrees
Udacity offers a few different Nanodegrees which provide access to various different courses, project reviews and coaching support for $200/month.
Current options include Front End Web Developer, Data Analyst and Android Developer. See the full list here.
Pro Courses are easy to understand
Pro Actual feedback on coding projects
You get actual feedback from developers on your code, which is useful. Yes having your sites/apps do what it is supposed to do is important, but you need feedback to learn industry standards/best practices and other gotchas that are much harder to learn on your own.
Con Editor not easily adjustable
The code editor at the bottom of the page, where you follow along with the tutorial, is fairly small and provides no way to adjust the size.
Con Nanodegrees are expensive
Udacity is quite expensive at $200/month if you want to do a nanodegree.