GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  IBM  >  Aptitude
Go To First  |  Previous Question  |  Next Question 
 Aptitude  |  Question 87 of 124    Print  
class xx{
int getage();
private:
int itsage;
};
which is not useful..

A. getage() is private
B. itsage is private
C. itsage is int

A.




  
Total Answers and Comments: 0 Last Update: N/A   
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

In a class the average age is 16yrs.if the teacher who is 40 yrs of age is also included ,the average becomes 17yrs,how many students were there?

 In a class , except 18 all are above 50 years. 15 are below 50 years of age. how many people are there a) 30 b) 33 c) 36 d) none of these.

In a class average age of boys is 15 yrs and that of girls is 16 yrs. The total average being 15.6 yrs. Find the ratio of boys to girls
3:2 

Class xx{int getage();private:int itsage;};which is not useful..A. getage() is privateB. itsage is privateC. itsage is int
A. 

Find the error in the following codeclass a{public:void operator=(class a);void operator,(class a);void operator+(class a);…..}

Class a{float add (..);double add(…);…..}This is an example ofA. function overloadingB. function overridingC. none of the above

In a class, except 18 all are above 50 years. 15 are below 50 years of age. How many people are there?A. 30B. 33C. 36D. none of these


 Sponsored Links

 
Related Articles

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

How to Access C++ Class Members

How to Access C Class Members In this C tutorial you will learn how to access Class members dot operator or class member access operator difference between struct and class and  scope resolution operator mosgoogle center It is possible to access the class members after a class is defined an
 

UML Elements : Class Diagram

UML Elements UML 2 0 is comprised of a total of 13 diagrams If you wish to understand these diagrams they should be organized based on a hierarchy For UML a diagram is an element which must define which things should be modeled in a system mosgoogle center Introduction to Class Diagram In this arti
 

Class-based Object Oriented Programming

Class based Object Oriented Programming Class based object oriented programming is a style that gains inheritance by processing classes as objects The most prominent style of OOP is class based instead of object based With the class based OOP system objects are units that merge states identities and
 

Class Constructors and destructors in C++

Class Constructors and destructors in C In this C tutorial you will learn about Class Constructors and destructors in C viz Constructors What is the use of Constructor General Syntax of Constructor Destructors What is the use of Destructors and General Syntax of Destructors mosgoogle Constructors Wh
 

A Java TOC2 Class Which Can Contact Aim

How To Produce a Java TOC2 Class Which Can Contact Aim AOL Instant Messenger is one of the most popular instant messenging tools available today It allows you to send instant messages to other people who use AIM At the same time it is possible to heavily customize AIM programs by using a protocol wh
 

How To Perform Class Loading With Java

How To Perform Class Loading With Java The class loading system for Java is both flexible and strong It will allow your programs to gains access to class databases without having to link to include" files which are static It will load archive files which contain these classes and other to
 

Application Class and Message Class

Using Application Class Visual Basic 2005 introduces a speedy way to access many important classes relating to the Computer on which the application is running the user running it the application itself its forms and any associated web services The best part of it all is that you can access it all u
 

Implementing Class Library Object

Implementing Class Library Object in VB NET 2005 Class Classical Object Oriented Concepts explain a class as a cookie cutter A class allows you to create objects of the class As a programmer you define a class with data fields properties methods and events Then you can create objects based on that c
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape