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
Which is better struts or spring?
What is abstraction oop?
What is constructor in oop?
write a program to find 2^n+1 ?
What is abstract class in oop?
What is coupling in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
how to get the oracle certification? send me the answer
What is the difference between procedural programming and oops?
What are the benefits of oop?
What is byval and byref? What are differences between them?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is polymorphism in oop example?
What is abstraction encapsulation?
Which is not an object oriented programming language?