Why do we use class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

Have you ever used threads?

3 Answers   Adobe, IBM,


What is the difference between class and structure?

7 Answers  


What are virtual functions?

2 Answers  


How do you achieve runtime polymorphism?

0 Answers  


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,






In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance

1 Answers  


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


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.

0 Answers  


Write a program to get the binary tree.

3 Answers   ABC,


how to find the correct email address format by using the programe?

1 Answers   Accenture,


Why u change company?

12 Answers   BOB Technologies,


Write 7 differences between "Public" function and "Private" function?

2 Answers   IBM, Wipro,


Categories