1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mazyrski [523]
3 years ago
6

What is a constructor? Why would you include a constructor in a class?

Computers and Technology
1 answer:
QveST [7]3 years ago
4 0

Answer:

Constructor in the class is the member function that gets into action when any new object gets created in the class ,it gets invoked. It does not have any return type and no void return.

The constructor is used in the class because there is the requirement for the initializing of the new object and then only object can do the functioning in the program.

You might be interested in
In which encryption strategy is the plaintext encrypted one character at a time and each encrypted character depends on that sin
Natasha_Volkova [10]

Answer:

Caesar cipher

Explanation:

In formation technology, cryptography or cryptology is a process of coding or encrypting information, using algorithms and input values in a network, where there is a present of a third party called adversaries or attackers.

There are different types of cryptography, namely, symmetric, assymmetric and hash cryptography.

Ciphers are algorithms used in cryptography to encode (encrypt) or decode (decrypt) information. An example of cipher is the Ceasar's cipher.

Ceasar cipher is a simple type of substitution cipher that encrpts plain text one character at a time and each coded character depends on the single character and a fixed distance value.

4 0
3 years ago
The best advice for setting a study session is
ExtremeBDS [4]
To take breaks and not do all the work at once.
3 0
3 years ago
What are the WORST computer malware in your opinion it can be worms backdoors and trojans I just want a input, nothing right or
tankabanditka [31]

Answer:

I think probably mydoom

Explanation:

as it estimated 38 billion dollars in damage, also this malware is technically a worm

5 0
2 years ago
What is a mortgage?
wel
D is the answer. Have a good day!
8 0
2 years ago
Read 2 more answers
Select the correct answer.
Anettt [7]

Answer:

D.extended-star topology

Explanation:

8 0
2 years ago
Other questions:
  • How much cell phone data does the average person use a month
    9·1 answer
  • What are three reasons teens might start drinking alcohol??
    7·2 answers
  • You are asked to design a system of FP numbers representation (with your own design choices), labeled Custom_FP_48, for which we
    8·1 answer
  • What is the minimum number of data points you should usually have to look for signs of improvement on a run chart?
    8·1 answer
  • PLEASE help me RIGHT NOW!!!!!!!!! I will give a Brainly to anyone who helps me!
    15·1 answer
  • What is the difference between = and == in terms of java..?
    6·2 answers
  • In this lesson you wrote code to make the turtle draw squares. Briefly describe how the code for
    11·1 answer
  • ITS A VOTE I NEED HELP
    12·1 answer
  • PL I BEG YOU HELP
    5·1 answer
  • Which of the following is the most reliable way to check the accuracy of a website?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!