What is property in oops?



What is property in oops?..

Answer / Ram Sukh

In Object-Oriented Programming (OOPS), a property represents an attribute or characteristic of an object. It stores data and can be accessed through methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is abstract class in oops?

1 Answers  


What are the components of marker interface?

1 Answers  


#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

1 Answers  


How long to learn object oriented programming?

1 Answers  


write a c++ program to find maximum of two numbers using inline functions.

3 Answers   IBM,


What are the valid types of data that the main () can return in C/C++ language

3 Answers  


What is the difference between pass by reference and pass by value?

12 Answers   Pfizer, TCS,


What is a friend function & its advantage?

1 Answers   MIT,


write a short note on Overloading of Binary Operator?

2 Answers  


What do you mean by Encapsulation?

1 Answers   Ittiam Systems,


What is a null tree?

1 Answers  


What is the difference between procedural programming and oops?

1 Answers  


Categories