3i Infotech Papers: Sample Questions 1088 - 1090 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1088

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

Justify the use of virtual constructors in c++.

Explanation

  • Constructors are special functions for initializing of every object.

  • Compiler arranges to call the constructor whenever an object is created.

  • Constructors initialize object members after storage is allocated.

  • Constructor has same name as that of class, and constructors never have return type.

  • Constructors are defined either inside the class definition or outside class definition using class name and scope resolution: : operator.

Constructor in image

Constructor in Image

Given the image is constructor declaration and definition.

  • Constructors are of three types:

    • Default constructor

    • Parameterized constructor

    • Copy constructor

Question number: 1089

» Languages » Java

Short Answer Question▾

Write in Short

Can you run the product development on all operating systems?

Explanation

  • No we can not run the product development on all operating systems.

  • It is formatted differently on different operating systems and only supports operating systems running off the central operating system that it was built to support.

Question number: 1090

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

Who is an Actor?

Explanation

  • Actor interacts with the system and initiates the process (that is USECASE).

  • actor specifies a role of user or any other system that interacts with the subject.

  • Primary actor of a use case calls on the system services.

Image shows the Actor

Image Shows the Actor

Given the image is defining the actor in USECASE diagram.