ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

Daanish Rumani
من قبل Daanish Rumani , Product Manager , Publicis Sapient

It isn't.
A language like Smalltalk may be called pure object oriented language.
Java has native data types like int, float, etc.
that are not objects themselves.
On the other hand Smalltalk does not have native types.
You would be surprised to know that in Smalltalk even the class is an object.
The way to instantiate a new object of the class is to call a method on the class object!

Belal El-Berry
من قبل Belal El-Berry , Senior Application Developer , Dataserve

Yes we can say that it is pure object oriented from the prespective of wrapper classes but you still have primitives and they kept it for performance concerns.

مستخدم محذوف‎
من قبل مستخدم محذوف‎

Yes.
You dont need to use primitives.
Use Wrapper classes.

المزيد من الأسئلة المماثلة