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
Stella [2.4K]
3 years ago
12

Create a class called Employee that includes three instance variables—a first name (type String), a last name (type String) and

a monthly salary (double). Provide a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, do not set its value. The Employee class must have the following two functions (a) Function yearly Salary() that calculates and returns the annual income of the Employee. (b) Function giveRaise( ) that increases the Employee’s monthly salary by 10% Write a test app named Employee Test that demonstrates class Employee’s capabilities. Create two Employee objects and display each object’s yearly salary. Then give each Employee a raise and display each Employee’s yearly salary again.
Computers and Technology
1 answer:
SIZIF [17.4K]3 years ago
6 0

Answer:

hihihi

Explanation:

You might be interested in
Here is the list of problems to choose from:
olya-2409 [2.1K]

Answer:

There's a parking lot that is 600m² big. The lot must be able to hold at least 3 buses and 10 cars.

Each car takes up 6m² and each bus takes up 30m².

However, there can only be 60 vehicles in the lot at any given time.

The cost to park in the lot is $2.50 per day for cars and $7.50 per day for buses. The lot must make at least $75 each day to break even.

What is a possible car to bus ratio that would allow the lot to make profit?

3 0
3 years ago
In the game of Dubblefud, red chips, blue chips and green chips are each worth 2, 4 and 5 points respectively. In a certain sele
KATRIN_1 [288]

Answer:

3000 G 200 B  50 R

Explanation:

7 0
3 years ago
A certain list, L, contains a total of n numbers, not necessarily distinct, that are arranged in increasing order. If L1 is the
Free_Kalibri [48]

In this question, we are given ,

  • A certain list, L, contains a total of n numbers, not necessarily distinct, that are arranged in increasing order.
  • L1 is the list consisting of the first n1 numbers in L.
  • L2 is the list consisting of the last n2 numbers in L.

Explanation:

As per the information given in statement 1, 17 is a mode for L1 and 17 is a mode for L2.

Therefore, we can infer that ,

  • 17 must occur in L1, either same or a greater number of times as any other number in L1.
  • 17 must occur in L1, either same or a greater number of times as any other number in L2.

As all elements in L are in ascending order, we can also conclude that

  • Each number between last occurrence of 17 in L1 and the first occurrence of 17 in L2 must be equal to 17 only.
  • Therefore, 17 occurs either same or greater number of times as any other number in L.
  • Thus, 17 is a mode for L.

However, from this statement, we cannot conclude anything about the mode of L1, L2, or L.

Hence, statement 2 is not sufficient to answer the question.

Therefore, 17 is a mode for L1 and 17 is a mode for L2.

3 0
3 years ago
Ms. Lawson, a primary school teacher, told her students that a photograph of the president is in the public domain. What does sh
dezoksy [38]

Answer:

He belongs to the nation

7 0
3 years ago
How to Get coursehero unlocked completely free without and account?
Nadusha1986 [10]
You must learn how to be an amazing hacker. Or know one.

3 0
3 years ago
Other questions:
  • What is the second row of letters in the keyboard called?
    7·1 answer
  • You have opened the properties dialog box for an installed printer on your computer system. on what tab will you find informatio
    8·1 answer
  • How do you take a screen shot on hp pavilion dm3
    12·1 answer
  • The picture that graphically represents the items you use in Windows is called a/an GUI
    12·2 answers
  • What do developers do to support software products
    14·1 answer
  • Which line is most likely an error? A-“hello” B-hello C-“100” D-100
    6·2 answers
  • ____ data refers to signals representing sound, temperature and car speed. These signals
    5·1 answer
  • What maintains data about various types of objects, events, people, and places?
    10·1 answer
  • 3) Write the example of LAN.​
    15·2 answers
  • Create a defined name for range b6:e6 using walkup as the range name
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!