what is an instance of a class

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


Please Help Members By Posting Answers For Below Questions

What is abstraction in oops?

812


Why do we use class?

855


What exactly is polymorphism?

904


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!!!)

1872


Why is oop better than procedural?

836


What is abstraction with example?

857


How do you define a class in oop?

889


What is abstraction and encapsulation?

794


What is an advantage of polymorphism?

848


What does and I oop mean?

875


What causes polymorphism?

861


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1931


2. Give the different notations for the class.\

1847


What is the real time example of inheritance?

896


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.

2862