Special welcome gift. Get 50% off your first courses with code “AS50”. Find out more!

java Q/A

Showing 21 - 30 of 31 results
Answer: Composition is exactly like Aggregation except that the lifetime of the ‘part’ is controlled by the ‘whole’. This control may...
Answer: Inheritance provides an object with the ability to acquire the fields and methods of another class, called base class. Inheritance...
Answer: There are two types of Polymorphism in Java: We can perform polymorphism by Method Overloading and Method Overriding. Compile...
Answer: Polymorphism is the ability of programming languages to present the same interface for differing underlying data types. A polymorphic...
Answer: Abstraction and encapsulation are complementary concepts. On the one hand, abstraction focuses on the behavior of an object. On...
Answer: Encapsulation  provides objects with the ability to hide their internal characteristics and behavior. Each object provides a number of...
Answer: Abstraction is the process of separating ideas from specific instances and thus, develop classes in terms of their own functionality,...
Answer: Not 100%. Java does not satisfy all the OOP conditions (predefined types must be objects) because it uses eight...
Answer: Object Oriented Programming (OOP) includes: