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?
4 Respostas
+ 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.
+ 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++
0
Operator overloading
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