Science, asked by meeroxa8941, 1 year ago

How many times can a constructor be called during lifetime of the object?

Answers

Answered by vivekshekhar
1
only once
static constructor allow you to initialize static variable in class, or do other thing needed to do in a class after it's first referenced in your code. They are called only once each time your program runs.
Similar questions