Which is the best to learn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Which is the best to learn

Which one is the best to learn c++ or java I know a little bit java program but shouldI waste my time to learn c++ ,too ? Or just reviewing the java ?

17th Jun 2018, 6:43 PM
Rea
Rea - avatar
4 Answers
+ 4
Start with Java! It will help you a lot in understanding other ones. Happy Learning !☺☺☺
19th Jun 2018, 3:41 PM
Sujal Kumar
Sujal Kumar - avatar
+ 3
It's never a waste of time learning something new. Take your time and learn one at a time unless you can handle multiple. But yes, you could learn both, or just stick to Java. For now, complete Java, as you've started that.
17th Jun 2018, 6:46 PM
Andre Daniel
Andre Daniel - avatar
+ 3
For me you should try to learn c++ first because in c++ you will have to deal with pointers and memmory menagment. You dont have virtual machine like in java. Yes c++ is hard to be learn but if you learn it you could move to java more easy and to any other language. Plus c++ code can be run on every operating system.
30th Jun 2018, 11:35 AM
B K
+ 2
Well surely java is best to learn as there are many reasons for this you can see as follows: Beginner Friendliness Generally, Java was designed to be relatively beginner-friendly in that it assumes the programmer is not that smart or careful, so programmers will be less likely to shoot themselves in the foot when coding Java apps. Relatively Simple to Use Java is a high level language, which means Java abstracts away (i.e. handles for you) most of the complex details of the machine (computer) such as memory management, etc. Thus, you can focus on programming instead of worrying about the little details many consider both tedious and difficult. Less Rewarding from the Start Java is very stubborn and verbose, which means you need to write a lot of code trying to convince the language to build some feature. Thus, you may need to spend a lot of time coding before you can get a working app. This may be demotivating for coding beginners. Scalability Easier to Maintain Java is a statically-typed language, which means your code will have to be checked for errors before it can be built into an app. This means errors will be easier to track down. Furthermore, since statically-typed languages are also more strict with the definitions of things, you will have less strange and unexpected errors, which means your codebase will be easier to maintain as it grows in size and complexity. Fast As a statically typed language, Java is faster than dynamically typed languages because things are more clearly defined. Thus, when the app is running, your machine's resources will not be wasted on checking the definition of something in your code. Read here: Benefits of learning java:- http://crbtech.in/Java-Training/benefits-learning-java/
18th Jun 2018, 6:01 AM
pranit patil
pranit patil - avatar