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
Sauron [17]
2 years ago
8

Identify the places in the code where there are object-oriented concept violations, content coupling, common coupling, control c

oupling, and stamp coupling situations. In the Directory Management System Submission Document, paste the code segments that correspond to each situation and explain how you would fix object-oriented concept violations, common coupling, control coupling, and content coupling issues.
Computers and Technology
1 answer:
8090 [49]2 years ago
3 0

In this way, using the knowledge in computational language in JAVA it is possible to write a code that identifies the directories and also the people who own these directories:

<h3>Writing the code we have:</h3>

<em>import java.util.Scanner;</em>

<em>public class PersonnelDirectory</em>

<em>{</em>

<em>public static void main(String[] args)</em>

<em>{</em>

<em>Personnel per = new Personnel();</em>

<em>totalObjects total = new totalObjects();</em>

<em>Scanner scan = new Scanner(System.in);</em>

<em>String firstN, lastN, middleN;</em>

<em>int empID;</em>

<em>double salary;</em>

<em>int choice = -1;</em>

<em>do{</em>

<em>System.out.println("Welcome to the Personnel Directory Management System");</em>

<em>System.out.println("\n\n\t 1. Add Personel");</em>

<em>System.out.println("\n\t 2. Find Personel");</em>

<em>System.out.println("\n\t 3. Print Names");</em>

<em>System.out.println("\n\t 4. Number of Entries in the Directory");</em>

<em>System.out.println("\n\t Select one of the options above (1, 2, 3, 4)");</em>

<em>choice = scan.nextInt();</em>

<em>scan.nextLine();</em>

<em>switch(choice)</em>

<em>{</em>

See more about JAVA at brainly.com/question/12975450

#SPJ1

You might be interested in
Develop a command sequence would you use to alter the amount of space between the text in a text box and the text box border?.
yanalaym [24]

The use of the Line and Paragraph Spacing command can  help one to alter the amount of space between the text in a text box and the text box border.

<h3>Which command changes line spacing?</h3>

When one click on Home tab, one should click the Line and Paragraph Spacing command, and when one has select the line spacing that one needs, the selected line spacing will alter in the document.

Note that the use of the Line and Paragraph Spacing command can  help one to alter the amount of space between the text in a text box and the text box border.

Learn more about command sequence from

brainly.com/question/13258375

#SPJ1

8 0
2 years ago
Ms. Osteen gives her class an assignment to insert background color that gradually changes from blue to green. To accomplish thi
irina1246 [14]

Answer:

C

Explanation:

7 0
3 years ago
What does UDP stand for?
sleet_krkn [62]
User Datagram Protocol
3 0
3 years ago
Read 2 more answers
Assume that name is a variable of type String that has been assigned a value.Write an expression whose value is a String contain
zhuklara [117]

Answer:

#read value of name

name=input("Enter name:")

#find and ptint the last character of the string

print("last character of string is:",name[-1])

Explanation:

Read a string from user and assign it to variable "name".Find its last character as "name[-1]". Since name is character array,so name[-1] will give the last character of the array.

Output:

Enter name:Smith                                                                                                          

last character of string is: h

6 0
3 years ago
How do you use loops in code?
Keith_Richards [23]

Answer:

A loop in a computer program is an instruction that repeats until a specified condition is reached. In a loop structure, the loop asks a question. If the answer requires action, it is executed. ... A computer programmer who needs to use the same lines of code many times in a program can use a loop to save time

Explanation:

4 0
3 years ago
Other questions:
  • This is not a factor that you should use to determine the content of your presentation. Your audience your goals your purpose yo
    7·2 answers
  • How many parameters go into the function sum, and how many return values come out of the function sum? function sum(first, secon
    6·1 answer
  • The calls radioed to patrol officers, or assignments given to police patrol units by 911 dispatchers, reveal the types of proble
    9·1 answer
  • Go online and research the computer topic
    6·1 answer
  • What is the fastest way to move data over long distances using the internet, for instance across countries or continents to your
    13·1 answer
  • The purpose of a function that returns "void" is:_________. A) To satisfy compiler warnings B) To package a repeated task as a f
    7·1 answer
  • The national highway system improved economic activity in Georgia by
    6·2 answers
  • Whats an MAR? lolz better not take my points #bonkers
    12·2 answers
  • 5. Why do we need programming language?​
    13·2 answers
  • True of false that the memory of laptop is normally measured in kilobytes
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!