Languages [3i Infotech Placement]: Sample Questions 328 - 330 of 546

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 328

Edit

Describe in Detail

Essay▾

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.
Given the Image is Constructor Declaration and Definition
  • Constructors are of three types:
    • Default constructor
    • Parameterized constructor
    • Copy constructor

Question 329

Languages
Edit

Write in Short

Short Answer▾

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 330

Edit

Describe in Detail

Essay▾

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.
Given the Image is Defining the Actor in USECASE Diagram

Developed by: