+ 2

what is "obj"?

anyone can explain me

2nd Jun 2019, 10:06 AM
Михаил Поляков
Михаил Поляков - avatar
5 Respostas
+ 5
Mostly we use for object. But this term can be use for any kind of variable.
2nd Jun 2019, 11:54 AM
Muhammad Rashid
Muhammad Rashid - avatar
+ 3
object
2nd Jun 2019, 10:12 AM
Farry
Farry - avatar
+ 3
An object is an instance (representative) of a class (or structure, or data type). Object data is located in the computer's RAM. The rules for working with object data are known to the program due to the name of the object variable (or rather, references to the address of the location of this data). The size of the object data itself and the functions (class methods) of working with them are also known due to the class name of the object (or rather, its unique identifier, which in some high-level programming languages ​​is part of the object data). In general, a class or structure or type describes the rules for working with data, and an object is one of the representatives of this data.
2nd Jun 2019, 12:23 PM
Michail Getmanskiy
Michail Getmanskiy - avatar
+ 3
Obj=ОБЖ=Основы безопасности жизнедеятельности)
16th Jun 2019, 10:47 PM
Rex Nikeov
Rex Nikeov - avatar
+ 2
Sorry - google translate. Original : Объект это экземпляр (представитель) класса (или структуры, или типа данных). Данные объекта расположены в оперативной памяти компьютера. Правила работы с данными объекта известны программе благодаря имени переменной объекта (а точнее ссылки на адрес расположения этих данных). Размер самих данных объекта и функции (методы класса) работы с ними тоже известны благодаря имени класса объекта (а точнее, его уникального идентификатора, который, в некоторых высокоуровневых языках программирования является частью данных объекта). В целом класс или структура или же тип описывают правила работы с данными, а объект - это и есть один из представитетей этих данных.
2nd Jun 2019, 12:28 PM
Michail Getmanskiy
Michail Getmanskiy - avatar