c 程序员学习java,在不知道c / c ++的情况下学习java

hi,

I know html, css & python. I wanna learn java. Is it possible for me to learn java without knowing c/c++?

解决方案

Yes.

Get a course, or a book (avoid those with "in XXX days", "for dummies" or multiple exclamation marks in the title) and follow it from beginning to end, doing all the exercises. Bear in mind that knowing HTML and CSS will probably not be a help, but the Python experience should at least have you familiar with the basics of programming.

You can learn java without C/C++ knowledge but learning both if the best. C++ is a messy and difficult language but a lot libraries are available only in C/C++.

Java is much more easier and cleaner language than C++. The number of the language features is the fraction of that of C++ and Java is based on better language design decisions from many aspects (that is a very good thing and makes java a sure winner when it comes to ease of learning). Both being general purpose languages (of the same family: C) makes both of them suitable to solve a lot of problems in common but there are some domains in which either C++ or Java is the winner. When it comes to productivity in general its unquestionable that Java is the winner (depending on the domain of course). If you decide to learn C/C++ it will a more bumpy road for you seeing your background with high level languages. In my opinion go for java first, its a very good step between python and C++.

Java is easier to learn in comparison to C++ and also "cleaner". It's also more forgiving to work with since it can recompile code at run-time and does provide automatic memory management. This is not always a desired behavior but for most applications it works very well.

However the challenging task would still be to learn how to model and design OOP programs in a proper and good way rather than learning the syntax of the language used to implement it.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值