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
zalisa [80]
3 years ago
14

What happens when a returntype, even void, is specified as a constructor in Java?

Computers and Technology
1 answer:
Lubov Fominskaja [6]3 years ago
4 0

Answer:

If a returntype is added to a constructor method in Java, it ceases to be a constructor and behaves like an ordinary class method with the same name as class name.

Explanation:

If a returntype is added to a constructor method in Java, it ceases to be a constructor and behaves like an ordinary class method with the same name as class name.

Constructors are special methods which are used for initializing the object. Constructors do not have a return type. If we add a return type to the constructor method , it does not play any role during object initialization and can be involved like any other object method.

You might be interested in
Select the correct answer.
Harrizon [31]

Answer: B. judgment

Explanation: To critique a work of art, there are a 4 steps method:

<u>Description</u>: describe everything you see in the work: name of the artist, the title, what you observe, what media he/she used, the year it was created;

<u>Analysis</u>: describe how the artist uses the <u>elements of art</u> (line, shape, color, texture, space) and the <u>principles</u> <u>of</u> <u>design</u> (balance, movement, pattern, emphasis, contrast);

<u>Interpretation</u>: try to explain what is the meaning of the art, why the artist created it, what was he/she's idea for it, based on the 2 previous steps;

<u>Judgment</u> <u>or</u> <u>Evaluate</u>: make an opinion of why the art is worth it based on the other steps and give reasons for liking or disliking, its importance or the way it make you feel;

After going through each step, your evaluation or opinion will be expressed in the 4th step: Judgment.

6 0
3 years ago
Convert the following decimal number to its equivalent binary ,octal,hexadecimal 1920​
Serhud [2]

Answer:

0b11110000000 is binary

0o3600 is in octal

0x780 in hexa dec.

Explanation:its a bit complitcated to explain sorry bro!

3 0
4 years ago
If you have a mix of 32-bit and 64-bit versions of windows, which architectures should you add a unattended installation file fo
umka21 [38]
64 bit the likely hood of it failing is much less
4 0
3 years ago
In Criminal justice, the type of evidence which contradicts a given theory is known as?​
irina [24]

Answer:

In general, scientific evidence are the results of scientific tests used to prove or disprove a theory or hypothesis. In criminal cases, scientific evidence is used to help jurors understand and determine the facts of a case. Explanation:

3 0
3 years ago
What single word could be used to describe the importance of software design??
Eddi Din [679]
<span>abstraction possibly </span>
5 0
3 years ago
Other questions:
  • What happens if you move unencrypted files into an encrypted folder?
    5·1 answer
  • PLEASE  HELPPPP!!!!!
    14·1 answer
  • What's a good app that solves trigonometry problems?
    8·1 answer
  • Write a program that will find the smallest, largest, and average values in a collection of N numbers. Get the value of N before
    13·1 answer
  • Why is it important to be part of a team in times you fail and in times you succeed?​
    15·1 answer
  • Alan has introduced a new line of scooters on his website and is using a Google Display Ad campaign to promote them. He selects
    8·1 answer
  • Digital on a smart phone means the camera is actually zooming in on the photo itself not the subject that you are shooting true
    8·1 answer
  • What are registers in ICT used for?
    5·1 answer
  • 3. The following is a dump of a UDP header in hexadecimal format. 0045DF000058FE20 a. What is the source port number? b. What is
    15·1 answer
  • What is the benefit of hosting a website on a personali
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!