Function call inside a class

I wanted know whether if the following scenarios are possible:-

  1. Suppose if I define a constructor inside a class and then define a virtual function inside the same class…So can we call the virtual function inside the constructor, considering that the function is defined after the constructor.
  2. Also can the order of defining a constructor has to be always before the function or if we do it vice versa will it create any error.

In reply to Shivansh Bhardwaj:

functions (including the new() constructor) and tasks can be defined in any order. They do not need to be defined in the source before calling. Note that calling a virtual method from a constructor has a few caveats, but is a very rare use case.