OOPS Interview Questions
Questions Answers Views Company eMail

what is an qt4 interface?

IBM,

1 4175

I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.

2603

is there any choice in opting subjects like 4 out of 7

1721

can main method be overloaded...??? How..????

Satyam,

2 6049

which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.

4 4905

what is the sylabus for priliminaries?

1670

How to Increment the value of the empid E001 for each and every employee by using the programe?

Accenture,

1 2621

How to calculate the age from the date of birth by using the program?

Accenture,

2 7964

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

Accenture,

1 3091

1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

Nagarro,

1 6301

how much classes are used in c++

5 5887

what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.

Excel,

2 3855

class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1685

WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)

TCS,

1 5334

Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1601


Post New OOPS Questions

Un-Answered Questions { OOPS }

what is different between oops and c++

1990


What is class and object with example?

578


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1614


i got a backdoor offer in process global,Bangalore..Can i work with it?

2314


What is polymorphism what are the different types of polymorphism?

553






This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1628


What is stream in oop?

827


is there any choice in opting subjects like 4 out of 7

1721


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1881


What is oops with example?

554


Why do we use encapsulation in oops?

508


What is interface? When and where is it used?

1654


write a C++ program for booking using constructor and destructor.

2038


What is the real time example of encapsulation?

581


What are the three parts of a simple empty class?

1444