Java Programmin Programming and Technical Programming Arrays

which of the given options refers to data encapsulation in oops ?
1 .the data and operation for an object are defind and fixed.
2.data of an object is encapsulated in its class
3. data is hidden for an object
4. a class can have multiple objects

Read Solution (Total 2)

Java Programmin Other Question

find the sum of prime number between 1000000000000 and 1000000100000 how does inheritance relate 2 abstraction?

A . a base class is an abstraction of all its derived classes
b. a derived class is an abstraction of all its base classes
d. Base & derived classes are abstractions for each other
e. Inheritance prevents abstraction
f. No relationship between them