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
PLEASE HELP!
Gnom [1K]

Answer:

A. True or false

1.True

2.false

3.false

4.true

5.true

4 0
2 years ago
Read 2 more answers
What kind of device does a computer need to provide information to a person or something else?
yanalaym [24]
An input device is something that gives information to the computer. On the other hand, an output device is something that gives you information.
7 0
4 years ago
Read 2 more answers
When processing all the elements of row i of a two-dimensional array named grades using a for loop with variable j, what is the
kykrilka [37]

Answer:

D

Explanation:

Two dimensional array contain both rows and columns. Each row represented one record and each column represent one filed in that record.

for ex: int grades[5][3];

here array grades contains 5 rows and in each row we have 3 columns

if we have grades[i][j] then " i " represents number of rows and j represents the number of columns in that row.

j<grades[i].length represents i=0 to 2[here no of columns are 3, array index starts from 0 to 2]

The Answer is D

8 0
3 years ago
Select two netiquette guidelines. In three to five sentences, explain why these guidelines make professional online communicatio
meriva
Netiquette is etiquette when using the internet. The first guideline refers to posts on social media. Individuals should be mindful that posts can be read by anyone including employers and family members. Individuals need to ensure that material shared is not offensive. The next guideline refers to materials or content that is posted. Users must ensure that material posted does not belong to someone else or is copyrighted. Permission must be sought the owner must be cited or recognized. 
7 0
3 years ago
Read 2 more answers
How do I fix my mistake in my code????
Kryger [21]

Answer:

bugs

Explanation:

when starting to learn to code, it don´t take long to realise that it´s very hard to write software that works. When software don´t work we say has a bug see how to report bugs in Mu for the world´s very first important thing.

7 0
3 years ago
Other questions:
  • Can someone explain a cylinder
    7·1 answer
  • CHKDSK is a system utility that is commonly found in Windows. What is CHKDSK? Use the Internet to research and write about CHKDS
    15·2 answers
  • It is important to create an IT security program structure that aligns with program and organizational goals and describes the o
    6·1 answer
  • Which is an internet service? <br> A.) antivirus <br> B.) chat <br> C.) firewall<br> D.) router
    6·2 answers
  • A router has just received the following new IP addresses: 88.62.108.0/21, 88.62.116.0/21, 88.62.120.0/21 and 88.62.128.0/21. If
    5·1 answer
  • Explain how signal detection theory can be used to analyze web site reading and searching. Based on this analysis, provide three
    14·1 answer
  • Explain the importance of system software in the computer​
    8·1 answer
  • What should be entered to make the loop print
    6·1 answer
  • Make and run a Python program which:
    13·1 answer
  • WRITE A PROGRAM TO CALCULATE SIMPLE INTEREST
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!