Is java same as c# ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Is java same as c# ?

I find syntax and some 'object oriented concept' same as java's, that's why i am asking .

1st Jul 2018, 1:17 PM
Tarika
Tarika - avatar
6 Answers
+ 10
Tarika Java is not the same as C# but they share a lot of similarities but there are also differences https://www.quora.com/What-are-the-major-differences-between-Java-and-C
1st Jul 2018, 1:24 PM
David Akhihiero
David Akhihiero - avatar
+ 4
no but similar
1st Jul 2018, 4:04 PM
Pls Dont Block Me
+ 3
It may seem as java is similar because both of the languages deriver their basic syntax from C and both run on their on their own environments the JVM and the .NET framework. More than java I'd say the core of Kotlin is similar to c#.
1st Jul 2018, 1:59 PM
SiddharthBhandari
SiddharthBhandari - avatar
+ 2
There is no objective answer :-). But for me those are little bit similar ..
1st Jul 2018, 4:53 PM
Michal Grznár
+ 1
they are not abselutlly similar but they have many common syntaxes and they are extended from c family langs specially c# wich developed by windows and it is a powerful lang also java is as similar as c lang like declaring variables , loops,some data structures like array and etc regards :)
1st Jul 2018, 7:48 PM
Ali
Ali - avatar
+ 1
i think no java is not same as c# as you can see differences as follows: following are some major differences between c++ and java :- C++ makes use of pointers Pointer creation and usage in Java is not permitted. Memory allocation and deallocation has to be taken care of by the programmer in C++. This task will be taken care of by JVM in Java. C++ consists of the goto statement. Java doesn’t consist of the goto statement. Multiple inheritance directly available in C++ Java lacks multiple inheritance, but you can achieve it by various means. Constructors and destructors are there in C++ Java consists of only constructors. Java does not have destructors. I have found many other differences here Java Vs C++ : An In Detailed Comparison which are useful to know. Read Here in detail: http://crbtech.in/Java-Training/resemblances-differences-java-c/
2nd Jul 2018, 6:30 AM
pranit patil
pranit patil - avatar