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
Ivenika [448]
1 year ago
6

public class person { 4. private double salary; 5. public person() { 6. salary = 1000.0; 7. } what type of constructor is illust

rated by lines 5 through 7?
Mathematics
1 answer:
Archy [21]1 year ago
8 0

The constructors that have an empty parameter are known as non-parameterized constructors.

What is non-parameterized constructors?

Non-parameterized constructors are those that only have one parameter, which is empty. Depending on the user, they are used to set the object's initial values to either specific constants or default values.

What is a parameterized constructor?

When a constructor takes a certain quantity of parameters, it is referred to as a parameterized constructor. to initialize class data members with unique values.

What does it mean to be parameterized and not?

These methods have a list of parameters or arguments that are passed a value by the caller method.

                                  Methods that are not parameterized: These methods have no parameter list. Without passing any values to the function, the programmer can just call it.

Learn more about Parameterized Constructor

brainly.com/question/29744767

#SPJ4

You might be interested in
(Type whole numbers or decimals
Darya [45]

Answer:

.5, 5, 8.5

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Joshua is designing a rectangular mirror. He let w = the width, in inches, of the mirror. The length of the mirror will be 6 inc
SVETLANKA909090 [29]

Answer:

16 < w < 21

Step-by-step explanation:

Given that :

Width if mirror = w

Length of mirror = l

L = 6 + w

Perimeter of mirror < 96 and > 76

Possible width of the mirror

Perimeter of a rectangle :

2(l + w)

2(6 + w + w)

= 2(6 + 2w)

= 12 + 4w

Hence,

76 < perimeter < 96

76 < 12 + 4w < 96

76 - 12 < 4w < 96 - 12

64 < 4w < 84

16 < w < 21

5 0
4 years ago
Kamden is a mind-reading alien. He had each friend draw and look at a card, then he guessed whether the card had a star on it. T
torisob [31]

Answer: This is what Khan Academy said the answer was

7 0
4 years ago
If f(x) = 2x, then f-1(x) =<br> 1.-2x<br> 2.1/2x<br> 3.x-2
balandron [24]
Ans: x/2

Let , y = f(x)
y= 2x
X=y/2
so ,f^-1(x) = x/2

I hope this helps :)

8 0
3 years ago
Natalie put 1/3 cup of flour in a bowl. Her sister put another 3/4 cup of flour in the bowl. They need a total of 4 cups of flou
maria [59]

Answer:

2 11/12

Step-by-step explanation:

I know this because you first add 1/3 + 3/4, and that equals 1 1/12. Then, I did 4 - 1/12 and got the answer 2 11/12.

7 0
3 years ago
Other questions:
  • 2.c is anyone good with exponential and logarithmic?
    5·1 answer
  • Jennifer works part time making crafts. She is paid $12 for each plaque that she completes. One particular week, she made 30 pla
    8·1 answer
  • Which statement is the correct interpretation of the inequality –2 &gt; –8?
    9·1 answer
  • If the scale factor between two similar solids is 2:5, then the ratio of their lateral areas is 4:10
    8·1 answer
  • Which of these numbers is a prime 1,11,21,51
    9·2 answers
  • Write a problem involving how much more than and solve it.explain how drawing a diagram helped you solve the problem
    10·2 answers
  • What quadrilateral does not belong with a square, reactangle &amp; a parallelogram?
    5·2 answers
  • The bowling ally is located at (2,-4) on the grid below. Describe the location of the bowling ally with respect to the police st
    9·1 answer
  • Using what you know about percents, explain why a commercial that says "80% of dentists use this toothpaste" might be misleading
    6·1 answer
  • A total of 388 tickets were sold for the school play. They were either adult tickets or student tickets. The number of student t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!