Statistics
The Highest Post







Statistics
Count 98
Avg 20.27
Min 3
Max 21
Angualr Top questions

Details



Peter Agyekum Advantages of OOPs over Procedure Oriented Programming Advantages of OOPs over Procedure Oriented Programming OOPs makes development and maintenance easier whereas in a procedure-oriented programming language it is not easy to manage if code grows as project size increases. OOPs provides data hiding whereas in a procedure-oriented programming language a global data can be accessed from anywhere. public class Dog { String breed; int age; String color; void barking() { } void hungry() { } void sleeping() { } } A class is a blueprint from which individual objects are created. The code above is a sample of a class Dog with attributes and behavior.
Related Topics