What are the first object-oriented languages? JAVA, C + +, C #, and so on. But many people think that C # and C + + have a relationship, in fact, a little relationship is not drop. C # is Java-like, a lot of people say false Java, because C # and Java too similar to C # also has a string but his is lowercase, and Java is uppercase. If you have the basics of Java and learn C # then you will soon learn to get started. Because the Microsoft company he wants to make a software to build software, the business you want to tell him after the software generated, but this thought too far, a lot of things are semi-automatic is not to say you want to do it out, inside the idea too many changes inside too much. Microsoft can't do it, then he makes C # very easy to use, very simple. But C # He can't change the underlying code, not cross the platform, or look at the underlying code. Microsoft's idea was to make anything easier to use here, but he didn't do it.
So C + + and Java they spell the library, whose third-party library is the richest. Why many people buy Apple phone, very hot, not because of the price, but his application library development is very good, invited a lot of to participate in the development of applications. So there are many apps for Apple, there are games to play, and software for software. Why there are many, because he has a lot of developers in the inside development, so they spell is also a library. Android did not so he chose to use the Java language to develop, because Java has a lot of resources, a lot of developers will go inside to develop applications so as to stop the market like Apple. Why choose to use Java to do commercial application development, because Java Library A lot of, and the inside of the library are commercial, do it fast, and the quality definitely pass. But for C + + to do that, you have to manage memory issues and manage the hardware issues. Java and C + + are not in the same place, do not compare them with each other.
Technology sharing: www.kaige123.com
This article from the "11247808" blog, reproduced please contact the author!
Java vs. C + + Object-oriented differences