Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Basics Getting Started with Java Introduction to Your Tools

krishna aryal
krishna aryal
6,897 Points

Java

Do i need to know html and CSS. Like in javascript as DOM parts comes in between then i must have knowledge of html and css so is there anything like that in Java

3 Answers

No. Java is a general purpose program,,ing language. Depending on what you want to do with it, (android Apps, desktop apps, ETC) there may be additional stuff you will need to learn, but at its core it will still be Java.

HTML and CSS are not part of Java.

krishna aryal
krishna aryal
6,897 Points

Thank you and one more thing these day there are lot of android development tools and platform so does that mean i dont need to know java or to become outstanding in android i must know java ??

You could theoretically do many things in Android just by memorizing and copying patterns and letting the development tools do a lot for you, but to be truly great at Android and understand everything that's happening on a deeper level, you should be comfortable with Java. You don't need to know a lot of Java to get started with Android, and you can definitely learn them both together if you have prior programming experience, but to truly understand the android framework, you need to know Java well. Whether you study Java on its own (and I recommend you do if you don't have a lot of programming experience) or you study it within the context of Android, you'll still need to know it well. It's up to you and your prior knowledge and abilities to decide whether you should dedicate time to learning Java on its own before pairing it with Android.

If your ultimate goal is Android dev, don't be afraid to learn Java. If I were you, I would focus on Java first and get comfortable with it, and then move into Android.

krishna aryal
krishna aryal
6,897 Points

Thank you. After this i will definitely go with java first and then android development. Its seems hard though but im not giving up. Thanks once again for your information!!