Answer Posted / p.naveenreddy
ya ofcourse java is a pure objected oriented programing
language because any language which is supporting and
satisfying encapsulation polymorphism and inheritance we can
say that that language is a object oriented programing lanugage
1. eventhough it is supporting primitive data types they
are declared inside the class only hence outside the class
they are not available so it is satisfying encapsulatiopn to
maximum extent
2.directly we can say it is satisfying polymorphism
3.in java multiple inheritance is avoided but it is
supporting and satisfying major part of the inheritance
concepts
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
class type to basic type conversion
What is the highest level of cohesion?
Get me a number puzzle game-program
What are different oops concepts?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is the real time example of inheritance?
Where You Can Use Interface in your Project
What is encapsulation in oop?
What is polymorphism programming?
Why interface is used?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is overloading in oop?
What is overriding vs overloading?
What is pointer in oop?