1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
programing?
Answer Posted / n.shyam sunder rao
1.Static & Non-static
2.covering all entities like function,variables, data type
within a single entity called as class is known as data
encapsulation.
Data hiding refers to the privacy of information that are
seen within the class that is not visible to the functions
outside the class.
3.By using access specifier public.
4.default scope, that is same class,subclass with in the
same package,other classes within the same package.
5.i).Overloading functions.
ii).Code Re usability.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can we create object of abstract class?
write a programe to calculate the simple intrest and compund intrest using by function overlading
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Can a destructor be called directly?
is there any choice in opting subjects like 4 out of 7
can we make game by using c
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is difference between pop and oop?
Can abstract class have normal methods?
What is polymorphism what is it for and how is it used?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is solid in oops?
what's the basic's in dot net
2. Give the different notations for the class.\