Answer Posted / rajashekar reddy
Yes, java is purely Object Oriented Language,
someone says that Java is partially OOL because datatypes are
declared without creating object But my question is without creating object how can we access these data types.
We can declare any data type within the method or within the class only and obviously every method is written inside the
class only.
Every class is an Blueprint of that particular object.
My conclusion is Java is purely Object Oriented Language.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we need oop?
What is the benefit of oop?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is inheritance write a program to show use of inheritance?
What is difference between inheritance and polymorphism?
Why do pointers exist?
What is polymorphism in oop example?
What do you mean by abstraction?
What makes a language oop?
What is object in oop?
How many human genes are polymorphic?
What is destructor example?
Why is abstraction used?
What are properties in oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.