is java pure object oriented programming: if yes, then why??? if No, then why???
YES, java is pure object oriented programming. because everything goes inside class... nothing will be outside the class. to access class member you create object. for less writing code you use inheritance. function overriding is for polymorphism.
java is a purely object oriented because we only deals with class either working and coding, procedural oriented programs or object oriented programs... in java we do not have any concept of inclusion of header file as we does in c and c++ language...hence java is a purely object oriented programming
In OOP every thing is written inside classes and Java is the language which uses this property of object oriented programming.
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?