+ 3

Object us instance

what is different between thems?

19th May 2018, 10:36 AM
Rahman Rezaie 🇦🇫
Rahman Rezaie 🇦🇫 - avatar
5 Réponses
+ 7
when you use the "new" keyword you are creating an instance or an object of class they are the same thing
19th May 2018, 11:14 AM
D_Stark
D_Stark - avatar
+ 3
is any different thems or not?exectly
19th May 2018, 10:45 AM
Rahman Rezaie 🇦🇫
Rahman Rezaie 🇦🇫 - avatar
+ 3
tanx
19th May 2018, 2:01 PM
Rahman Rezaie 🇦🇫
Rahman Rezaie 🇦🇫 - avatar
+ 2
Acording to wikipedia: "An object is an instance of a class, and may be called a class instance or class object; instantiation is then also known as construction. Not all classes can be instantiated – abstract classes cannot be instantiated, while classes that can be instantiated are called concrete classes."
19th May 2018, 10:40 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
No difference.
19th May 2018, 10:47 AM
Ulisses Cruz
Ulisses Cruz - avatar