Category: Programming
puts() in c i will implement. Main job of this function is to print a new line…
Packages are used in Java in order to prevent naming conflicts,to control access, to make seraching/locating and…
Interface is a collection of abstract methods.A class implements an interface, thereby inheriting the abstract method of…
code: class Operation{ int square(int n){ return n*n; } } class Circle{ Operation op;//aggregation double pi=3.14; double…
Encapsulation is one of the four fundamental OOP concepts.The other three are inheritance,polymorphism and abstraction. it is…
In OOP abstraction is a process of hiding the implementation details from the use, only the functionality…
Recent Comments