Answer Posted / b
when an object is intantiated from a class
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is for loop and its syntax?
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 overriding vs overloading?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is persistence in oop?
What is the real time example of inheritance?
Can main method override?
What is polymorphism used for?
What is the importance of oop?
What is an advantage of polymorphism?
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 byval and byref? What are differences between them?
What is data binding in oops?
Is oop better than procedural?
What is methods in oop?