Explore Westonci.ca, the premier Q&A site that helps you find precise answers to your questions, no matter the topic. Get immediate and reliable answers to your questions from a community of experienced professionals on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

Identify the places in the code where there are object-oriented concept violations, content coupling, common coupling, control coupling, 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.

Sagot :

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:

Writing the code we have:

import java.util.Scanner;

public class PersonnelDirectory

{

public static void main(String[] args)

{

Personnel per = new Personnel();

totalObjects total = new totalObjects();

Scanner scan = new Scanner(System.in);

String firstN, lastN, middleN;

int empID;

double salary;

int choice = -1;

do{

System.out.println("Welcome to the Personnel Directory Management System");

System.out.println("\n\n\t 1. Add Personel");

System.out.println("\n\t 2. Find Personel");

System.out.println("\n\t 3. Print Names");

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

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

choice = scan.nextInt();

scan.nextLine();

switch(choice)

{

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

#SPJ1

View image lhmarianateixeira
View image lhmarianateixeira
View image lhmarianateixeira
We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Find reliable answers at Westonci.ca. Visit us again for the latest updates and expert advice.