C++ or Java to start? | SoloLearn: Learn to code for FREE!

+24

C++ or Java to start?

Which language do you think should start?

2/28/2019 11:58:24 AM

Maxi

62 Answers

New Answer

+32

 Here’s a really cool [ INFOGRAPHIC: ]  https://www.sololearn.com/post/69481/?ref=app  that should make things easier for you. 😉 ⇨ While C is one of the more difficult languages to learn, it’s still an excellent first language pick up because almost all programming languages are implemented in it. This means that once you learn C, it’ll be simple to learn more languages like C++ and C#. Because C is more "machine-level", learning it is great for teaching you how a computer functions.  ⇨ Java is an object-oriented and feature-heavy programming language that’s in high demand. It’s been built under the premise of "Write once, run anywhere", meaning that it can be written on any device and work cross-platform. Additionally, Java is often used for Android and iOS app development, as it’s the basis of the Android operating system, which makes it one of the best choices if you want to build mobile apps.

+24

Maxi   ⟹ No matter what language you choose, you’d be well advised not to stop after your first language — the best programmers have a combination under their belt. After you learn one, the rest will likely be easier to pick up. ☆ "Learning is a never-ending journey" ☆

+16

Java is a high-level, third generation programming language, like C, Fortran, Smalltalk, Perl, and many others. You can use Java to write computer applications that crunch numbers, process words, play games, store data or do any of the thousands of other things computer software can do. Compared to other programming languages, Java is most similar to C. However although Java shares much of C's syntax, it is not C. Knowing how to program in C or, better yet, C++, will certainly help you to learn Java more quickly, but you don't need to know C to learn Java. Unlike C++ Java is not a superset of C. A Java compiler won't compile C code, and most large C programs need to be changed substantially before they can become Java programs.

+12

+11

Java may be a bit easier if you are new to programming.

+11

Choose randomly one. Java is daughter of c++. C++ is the mother. If you like young women go java, if u like mature women go c++. But remember don't mix them, learn one good before jump to the other.

+11

If you are starting out, pick any high-level (high-level = easier) language really. People are going to tell you which is better and whatnot. Truth is there is NO "best" language, only best tools for the RIGHT job. If you know what kind of programs you want to develop and what business you want to involve yourself into, research which high-level languages are better for that specific job and choose whichever. Note: when you are starting out your focus is not going to be which language you know, it'll be developing your logical thinking and ability to solve problems. Hope that helps!

+10

Yes. C++ is an enormously large, complex, and complicated language. I don’t think there is a human being on this planet who fully knows C++ inside out, and that includes its creator, Bjarne Stroustrup! Java is a relatively simple language. For heaven sake, I know a 12-year-old girl who started to learn programming using Java! How hard can it be? Nevertheless, Java is a hugely capable language. That’s why: it’s the enterprise standard programming language it has more job postings than any other language at Indeed it has a rich ecosystem that is the envy of most other languages, inspiring lots of third-party JVM languages like Groovy, Scala, Clojure, Kotlin, Jython, JRuby, Redline Smalltalk, JScheme, Armed Bear Common Lisp, Rakudo Perl 6, Renjin, Jabaco, Oxygene, Gosu, NetLogo, etc. it runs on BILLIONS of device around the planet, including Android an all-out effort was made to optimize the hell out of JVM performance; it can compete with C++ in some instances! Java remains at or near the top of the lan

+10

Lol blackwinter . What kind of analogy is that? 😂

+10

For me it was a little difficult to understand java at the beginning. Between these two I would prefer c++. After this I would also learn java.

+10

Maxi How is Java unlike C++? Two classes of language features have been removed from C++ to make it Java. These are those language features which make C++ unsafe and those which make it hard to read. Features removed that make Java easier to read and understand than C++ include #define, typedef, operator overloading, enum, unions and structs. The main feature removed to make Java safer and more robust than C++ is pointer arithmetic. Other features removed include global variables, standalone functions (everything is a method), friend functions (Everything in a package is a friend of everything else in the package.) and non-virtual functions. A number of features have been added to Java to make it safer including true arrays with bounds checking, garbage collection, concurrency, interfaces (from Objective C) and packages. There is no need to explicitly allocate or free memory in Java.

+8

Though i agree with West _Side God on the fact of learning c++ in depth is very hard, i think than it is a good first language being it the my first one... Oblivious is full of concepts not present in many other languages, but these will make you more confident with the computer

+8

Sonic haha funny analogy

+7

I'd say if you want to start learning any programming language is just a matter of how much time and dedication you want to put on it, I wouldn't advice for you to go with OOP if you're just starting to learn if I was you i'd choose a higher level language like visualbasic scripting, vb .net or another scripting language like ruby or python. Personally if I had to choose between java or c++ I'd choose c++ cause java is slower than c++ and many of the different implementation have security holes all over them, just google 'java cve' and 'libc cve' make a comparisson and you'll see the difference, it is funny that java running on billions of devices is seen as some kind of advantage over c++ cause it is something you can do with c++ too

+7

it highly depends on what you wanna do. every language has its pros and cons

+7

mehn they are both kinda complex sometimes a basic from other simple programming language is need to begin....but i really go with c++ first

+7

c++ language, is easy to understand if they know c language. Java language will be easier if they know both c++ and c languages so I choose to start with c++

+6

Go with Python Buddy.... Know strange answer and off topic but trust me, after learning it you will grow really fast as compare in learning c++ Or JAVA. As in the end, it doesn't matter which language you chooses, what matters is the product in your hand. If you want the fastest way: Python If you want to do something in scientific computing, web development (strange!! But yes...), game development: C++ Anything else: JAVA 😄😄😄

+5

I want to learn both

+5

I know the basic of Java and POO