Why does this look so much like C++? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Why does this look so much like C++?

I've used java only in Android Studio and it was much less intuitive. This all makes sense, but it seems almost identical to C++, is there a lot of overlap between the two languages?

10th Sep 2016, 2:38 PM
Tripp Cannella
Tripp Cannella - avatar
6 Antworten
+ 2
most of the syntax for Java has been borrowed from c++
18th Sep 2016, 9:52 AM
Vivek Anand
+ 1
Yeah! Java typically works like C++ but Java is platform independent and simply upgradation of C++.
10th Sep 2016, 2:47 PM
Shafiq Bangulzai
Shafiq Bangulzai - avatar
+ 1
They both follow Object Orientated code principles.
11th Sep 2016, 7:33 AM
Alex Wood
Alex Wood - avatar
+ 1
there r few differences too 1) operators can b overridden in c++ but not in java
14th Sep 2016, 5:53 PM
Rashmi Ganiger
Rashmi Ganiger - avatar
+ 1
it is similar to c++
26th Sep 2016, 8:26 AM
Kashish Gupta
Kashish Gupta - avatar
0
because both are object oriented programming languages
11th Sep 2016, 5:13 PM
Dheeraj Reddy
Dheeraj Reddy - avatar