Answer Posted / siva
The instance of the class is known as object.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oops?
Why do we use class?
What exactly is polymorphism?
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!!!)
Why is oop better than procedural?
What is abstraction with example?
How do you define a class in oop?
What is abstraction and encapsulation?
What is an advantage of polymorphism?
What does and I oop mean?
What causes polymorphism?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
2. Give the different notations for the class.\
What is the real time example of inheritance?
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.