Can anyone please anyone tell me any 5 things which are not possible to do in java comparison to no language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone please anyone tell me any 5 things which are not possible to do in java comparison to no language

Yesterday my teacher asked me this question and i only knew 2 things: 1)Pointers can't be used in java 2) Multiple inheritance is not possible ,But it is achieved with the help of Interface. Are there any other things which we can't do it in java language?

17th Feb 2017, 3:20 AM
Toufiqahmed Shaikh
Toufiqahmed Shaikh - avatar
4 Answers
+ 7
I don't agree with the pointers... You use pointers in Java with every object you create. But you don't need to take care of them because of the benefits of the garbage collection. That opinion on Java concerning pointers is common unfortunately, but it is not correct.
17th Feb 2017, 5:24 AM
Tashi N
Tashi N - avatar
+ 3
1)You can't define global functions unattached to any class in java 2)I think Operator Overriding isn't able in java but it is in c++
17th Feb 2017, 4:00 AM
MohammadAmin Salarkia
MohammadAmin Salarkia - avatar
0
Operator overloading
17th Feb 2017, 5:26 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
Tashi N I'm telling in the sense we use in C and C++ , by using * sign and taking the address of a particular location. Feel Free to correct me if I'm wrong
17th Feb 2017, 5:33 PM
Toufiqahmed Shaikh
Toufiqahmed Shaikh - avatar