SlideShare a Scribd company logo
java_arraylist_0.javajava_arraylist_0.java/*
* Aleksandr Kovalchuk
* PRG / 421
* June 20, 2016
* =============================================
===============================================
=================
*
* This is a java program to demonstrate the use of ArrayList.
* The program allows a user to do the following;
* 1. Add, edit, delete different types of animals
* 2. Select an animal, and the corresponding characteristics w
ill be displayed (such as color, vertebrate or invertebrate, can s
wim, etc.)
*
* =============================================
===============================================
=================
*/
import java.util.*;// import statements
import java.util.Scanner;
publicclassAnimals
{
publicstaticScanner scan =newScanner(System.in);// enable user
keyboard input
publicstaticvoid main(String[] args)
{
ArrayList<Animal> animals =newArrayList<Animal>();// creat
e array list
char another ='Y';// Check if user wants to perform another ope
ration
int exitCode =-1;// Program exits upon entering -1 as choice
String[] operations =newString[]{"0. Add Animals","1. Update
Animal","2. Remove Animal"};// Declare and initialize array to
hold operation choices
System.out.println("Animals Array Listn=================
=========================");// Title
while(another =='Y')
{
System.out.println("Please select an operation: ");// Prompt use
r for operation
for(int i =0; i < operations.length; i++)
{
System.out.println(operations[i]);// Display operation options
}
System.out.println("Enter "+exitCode+" to exit.n-----------------
--------------------------");// Inform that -1 exits program
int userChoice = scan.nextInt();// Get user input
if(userChoice ==0)// Check choice and call appropriate method
{
addAnimal(animals);// Call add animals method
}
elseif(userChoice ==1)
{
updateAnimal(animals);// Call update animals metho
d
}
elseif(userChoice ==2)
{
removeAnimal(animals);// Call remove animals meth
od
}
elseif(userChoice == exitCode)
{
System.out.print("Thank you for your time. Goodbye.");// exit
message
System.exit(0);
}
System.out.print("Perform another Operation? (Y/N)");// Ask if
user wishes to perform another operation
String choice = scan.next();
choice = choice.toUpperCase();
another = choice.charAt(0);
}
System.out.println("n-------------------------------------------
nThe array list has the following animals: n"+animals.toString
()+"n-------------------------------------------
");// If no other operation, display elements in array list
}
// Function to add animal to array list
publicstaticvoid addAnimal(ArrayList<Animal> anim)
{
char stop ='Y';
String name, color, canSwim, hasBackbone;// Properties of ani
mal object from Animal class
int code;
while(stop =='Y')
{
System.out.print("Animal Code: ");// prompt user for input of p
roperty
code = scan.nextInt();// Assign property to a variable
System.out.print("Name: ");
name = scan.next();
System.out.print("Color: ");
color = scan.next();
System.out.print("Can Swim?(Y/N): ");
canSwim = scan.next();
System.out.print("Has Backbone?(Y/N): ");
hasBackbone = scan.next();
anim.add(newAnimal(name, color, canSwim, hasBackbo
ne, code));// Add animal element to array list
System.out.print("-------------------------------------------n");
System.out.print("Add Another Animal? (Y/N)");// Check if us
er wishes to add another animal
String choice = scan.next();
choice = choice.toUpperCase();
stop = choice.charAt(0);
}
// Display animals in the array list after quitting
System.out.println("The following animals have been added: n"
+anim.toString()+"n-------------------------------------------");
}
// Function to edit animal to array list
publicstaticvoid updateAnimal(ArrayList<Animal> anim)
{
char stop ='Y';
String name, color, canSwim, hasBackbone;// animal properties
to be updated
if(!anim.isEmpty())// First check is array list is not empty then
proceed
{
while(stop =='Y')// while user wishes to update more animals
{
System.out.print("Enter Animal Code: ");// Prompt user for ani
mal code
int cd = scan.nextInt();// Capture code from scanner input
for(Animal anm : anim)// Loop through array list
{
if(anm.getCode()>0&& anm.getCode()== cd)// Pull element wit
h the given code
{
System.out.print("Name: ");// prompt user for new details of an
imal
name = scan.next();// capture details
System.out.print("Color: ");
color = scan.next();
System.out.print("Can Swim?(Y/N): ");
canSwim = scan.next();
System.out.print("Has Backbone?(Y/N): ");
hasBackbone = scan.next();
anm.setName(name);// For each property, upda
te with the new information
anm.setColor(color);
anm.setSwim(canSwim);
anm.setBackbone(hasBackbone);
}
else
{
System.out.print("No matching code found.");// Inform user if
no record was found
}
}
System.out.print("Update Another Animal? (Y/N)");// ask user
if they wish to update another animal
String choice = scan.next();
choice = choice.toUpperCase();
stop = choice.charAt(0);
}
// Display elements in array list if user is done updating
System.out.println("The array list has the following animals: n"
+anim.toString()+"n-------------------------------------------");
}
else
{
System.out.println("No animals were found in array list");// Inf
orm user if array list has no animal elements
}
}
// Function to remove animal to array list
publicstaticvoid removeAnimal(ArrayList<Animal> anim)
{
char stop ='Y';
if(!anim.isEmpty())// First check that there are animals in the a
rray list
{
while(stop =='Y')
{
System.out.print("Enter Animal Code: ");// prompt user for ani
mal code
int cd = scan.nextInt();
Iterator<Animal> itr = anim.iterator();// Declare iterator to iter
ate through array list
while(itr.hasNext())// Check that there are elements using iterat
or
{
if(itr.next().getCode()== cd)// search for element with the give
n animal code
{
itr.remove();// remove the found element
System.out.print("Animal with code "+cd+" successfully remov
ed.");// success message
}
else
{
System.out.println("No matching code found.");// no matching
animal found
}
}
System.out.print("nRemove Another Animal? (Y/N)");// ask if
user wants to remove another animal
String choice = scan.next();
choice = choice.toUpperCase();
stop = choice.charAt(0);
}
// Display array list
System.out.println("The array list has the following animals: n"
+anim.toString()+"n-------------------------------------------");
}
else
{
System.out.println("No animals were found in array list");// No
elements in array
}
}
}
/**
* @author
* Name:
* Course Title:
* Date:
* =============================================
===============================================
=================
*/
publicclassAnimal// Animal class to hold properties of animal
{
publicstaticString name, color, canSwim, hasBackbone;// prope
rties declaration
int code;
publicAnimal(StringName,StringColor,StringCanSwim,StringHa
sBackbone,intCode)// constructor
{
name =Name;
color =Color;
canSwim =CanSwim;
hasBackbone =HasBackbone;
code =Code;
}
publicString toString ()// override toString method to display el
ements in array list
{
return"n Animal Code: "+code+"n Name: "+ name +"n Color:
"+ color +"n Can Swim: "+canSwim+"n Vertebrate: "+hasBack
bone;
}
// Getters
publicint getCode()// get animal code
{
returnthis.code;
}
publicString getName()// get animal name
{
return name;
}
publicString getColor()// get animal color
{
return color;
}
publicString getSwim()// get animal swim value
{
if(canSwim.equalsIgnoreCase("Y"))
return"Yes";
else
return"No";
}
publicString getBackbone()// get animal backbone value
{
if(hasBackbone.equalsIgnoreCase("Y"))
return"Yes";
else
return"No";
}
// Setters
publicint setCode(int cd)// set animal code for update
{
return cd;
}
publicvoid setName(String nm)// set animal name for update
{
name = nm;
}
publicvoid setColor(String clr)// set animal color for update
{
color = clr;
}
publicvoid setSwim(String swim)// set animal can swim value f
or update
{
canSwim = swim;
}
publicvoid setBackbone(String bckbn)// set animal has backbon
e value for update
{
hasBackbone = bckbn;
}
}
__MACOSX/._java_arraylist_0.java
APPLIED RESEARCH PROJECT1
APPLIED RESEARCH PROJECT16
IMPROVING EMPLOYEE RETENTION AT ABC COMPANY
Prepared for:
Dr. E. J. Bondoc
Shorter University
Submitted by:
John Doe
July 22, 2016
Table of Contents
Abstract4
List of Tables5
List of Figures6
Section 1: Introduction7
Background/Situation7
Problem/Issue7
Evidence to Justify the Study7
Definition of Terms7
Summary8
Section 2 Literature Review (Relevant Published Information)9
Theme 19
Theme 29
Theme 39
Theme 49
Summary9
Section 3 Analysis10
Relevant Facts About ABC Company10
Detailed Information about the Specific Issue or Problem10
Analysis of the Causes of the Situation/Problem Issue10
Alternatives and Possible
Solution
s10

More Related Content

Similar to java_arraylist_0.javajava_arraylist_0.java  Aleksandr Koval.docx

PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdfPLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
mallik3000
 
Write a program that will test a name) method no sorting routine from.docx
 Write a program that will test a name) method no sorting routine from.docx Write a program that will test a name) method no sorting routine from.docx
Write a program that will test a name) method no sorting routine from.docx
ajoy21
 
What is the proper pseudocode for the following java codeimport j.pdf
What is the proper pseudocode for the following java codeimport j.pdfWhat is the proper pseudocode for the following java codeimport j.pdf
What is the proper pseudocode for the following java codeimport j.pdf
artimagein
 
Collection and framework
Collection and frameworkCollection and framework
Collection and framework
SARAVANAN GOPALAKRISHNAN
 
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
dorisc7
 
import java.util.; public class IteratorDemo {public static voi.pdf
import java.util.; public class IteratorDemo {public static voi.pdfimport java.util.; public class IteratorDemo {public static voi.pdf
import java.util.; public class IteratorDemo {public static voi.pdf
anilgoelslg
 
I really need help with the code for this in Java.Set operations u.pdf
I really need help with the code for this in Java.Set operations u.pdfI really need help with the code for this in Java.Set operations u.pdf
I really need help with the code for this in Java.Set operations u.pdf
dbrienmhompsonkath75
 
Basic java, java collection Framework and Date Time API
Basic java, java collection Framework and Date Time APIBasic java, java collection Framework and Date Time API
Basic java, java collection Framework and Date Time API
jagriti srivastava
 
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdfAbstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
calderoncasto9163
 
Java Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdfJava Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdf
irshadoptical
 
Not sure why my program wont run.Programmer S.Villegas helper N.pdf
Not sure why my program wont run.Programmer S.Villegas helper N.pdfNot sure why my program wont run.Programmer S.Villegas helper N.pdf
Not sure why my program wont run.Programmer S.Villegas helper N.pdf
wasemanivytreenrco51
 
In this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdfIn this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdf
fathimaoptical
 
Write a method countUnique that takes a List of integers as a parame.pdf
Write a method countUnique that takes a List of integers as a parame.pdfWrite a method countUnique that takes a List of integers as a parame.pdf
Write a method countUnique that takes a List of integers as a parame.pdf
MALASADHNANI
 
package singlylinkedlist; public class Node { public String valu.pdf
package singlylinkedlist; public class Node { public String valu.pdfpackage singlylinkedlist; public class Node { public String valu.pdf
package singlylinkedlist; public class Node { public String valu.pdf
amazing2001
 
Reactive programming with RxJS - ByteConf 2018
Reactive programming with RxJS - ByteConf 2018Reactive programming with RxJS - ByteConf 2018
Reactive programming with RxJS - ByteConf 2018
Tracy Lee
 
Java Foundations: Lists, ArrayList<T>
Java Foundations: Lists, ArrayList<T>Java Foundations: Lists, ArrayList<T>
Java Foundations: Lists, ArrayList<T>
Svetlin Nakov
 
An introduction to property-based testing
An introduction to property-based testingAn introduction to property-based testing
An introduction to property-based testing
Vincent Pradeilles
 
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
Haris Mahmood
 
An Introduction to the World of Testing for Front-End Developers
An Introduction to the World of Testing for Front-End DevelopersAn Introduction to the World of Testing for Front-End Developers
An Introduction to the World of Testing for Front-End Developers
FITC
 

Similar to java_arraylist_0.javajava_arraylist_0.java  Aleksandr Koval.docx (19)

PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdfPLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
PLEASE MAKE SURE THE PROGRAM IS ASKING FOR INPUT FROM USER TO ADD OR.pdf
 
Write a program that will test a name) method no sorting routine from.docx
 Write a program that will test a name) method no sorting routine from.docx Write a program that will test a name) method no sorting routine from.docx
Write a program that will test a name) method no sorting routine from.docx
 
What is the proper pseudocode for the following java codeimport j.pdf
What is the proper pseudocode for the following java codeimport j.pdfWhat is the proper pseudocode for the following java codeimport j.pdf
What is the proper pseudocode for the following java codeimport j.pdf
 
Collection and framework
Collection and frameworkCollection and framework
Collection and framework
 
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
(JAVA NetBeans) Write a Java program able to perform selection sort-So.docx
 
import java.util.; public class IteratorDemo {public static voi.pdf
import java.util.; public class IteratorDemo {public static voi.pdfimport java.util.; public class IteratorDemo {public static voi.pdf
import java.util.; public class IteratorDemo {public static voi.pdf
 
I really need help with the code for this in Java.Set operations u.pdf
I really need help with the code for this in Java.Set operations u.pdfI really need help with the code for this in Java.Set operations u.pdf
I really need help with the code for this in Java.Set operations u.pdf
 
Basic java, java collection Framework and Date Time API
Basic java, java collection Framework and Date Time APIBasic java, java collection Framework and Date Time API
Basic java, java collection Framework and Date Time API
 
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdfAbstract Base Class (C++ Program)Create an abstract base class cal.pdf
Abstract Base Class (C++ Program)Create an abstract base class cal.pdf
 
Java Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdfJava Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdf
 
Not sure why my program wont run.Programmer S.Villegas helper N.pdf
Not sure why my program wont run.Programmer S.Villegas helper N.pdfNot sure why my program wont run.Programmer S.Villegas helper N.pdf
Not sure why my program wont run.Programmer S.Villegas helper N.pdf
 
In this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdfIn this project you will define some interfaces, abstract classes, a.pdf
In this project you will define some interfaces, abstract classes, a.pdf
 
Write a method countUnique that takes a List of integers as a parame.pdf
Write a method countUnique that takes a List of integers as a parame.pdfWrite a method countUnique that takes a List of integers as a parame.pdf
Write a method countUnique that takes a List of integers as a parame.pdf
 
package singlylinkedlist; public class Node { public String valu.pdf
package singlylinkedlist; public class Node { public String valu.pdfpackage singlylinkedlist; public class Node { public String valu.pdf
package singlylinkedlist; public class Node { public String valu.pdf
 
Reactive programming with RxJS - ByteConf 2018
Reactive programming with RxJS - ByteConf 2018Reactive programming with RxJS - ByteConf 2018
Reactive programming with RxJS - ByteConf 2018
 
Java Foundations: Lists, ArrayList<T>
Java Foundations: Lists, ArrayList<T>Java Foundations: Lists, ArrayList<T>
Java Foundations: Lists, ArrayList<T>
 
An introduction to property-based testing
An introduction to property-based testingAn introduction to property-based testing
An introduction to property-based testing
 
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
 
An Introduction to the World of Testing for Front-End Developers
An Introduction to the World of Testing for Front-End DevelopersAn Introduction to the World of Testing for Front-End Developers
An Introduction to the World of Testing for Front-End Developers
 

More from christiandean12115

100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
100 Original WorkZero PlagiarismGraduate Level Writing Required.docx100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
christiandean12115
 
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
christiandean12115
 
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
christiandean12115
 
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
christiandean12115
 
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
christiandean12115
 
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST M.docx
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST  M.docx10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST  M.docx
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST M.docx
christiandean12115
 
10.1 What are three broad mechanisms that malware can use to propa.docx
10.1 What are three broad mechanisms that malware can use to propa.docx10.1 What are three broad mechanisms that malware can use to propa.docx
10.1 What are three broad mechanisms that malware can use to propa.docx
christiandean12115
 
10.0 ptsPresentation of information was exceptional and included.docx
10.0 ptsPresentation of information was exceptional and included.docx10.0 ptsPresentation of information was exceptional and included.docx
10.0 ptsPresentation of information was exceptional and included.docx
christiandean12115
 
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
christiandean12115
 
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
christiandean12115
 
10 What does a golfer, tennis player or cricketer (or any othe.docx
10 What does a golfer, tennis player or cricketer (or any othe.docx10 What does a golfer, tennis player or cricketer (or any othe.docx
10 What does a golfer, tennis player or cricketer (or any othe.docx
christiandean12115
 
10 September 2018· Watch video· Take notes withfor students.docx
10 September 2018· Watch video· Take notes withfor students.docx10 September 2018· Watch video· Take notes withfor students.docx
10 September 2018· Watch video· Take notes withfor students.docx
christiandean12115
 
10 Research-Based Tips for Enhancing Literacy Instruct.docx
10 Research-Based Tips for Enhancing Literacy Instruct.docx10 Research-Based Tips for Enhancing Literacy Instruct.docx
10 Research-Based Tips for Enhancing Literacy Instruct.docx
christiandean12115
 
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
christiandean12115
 
10 Most Common Err.docx
10 Most Common Err.docx10 Most Common Err.docx
10 Most Common Err.docx
christiandean12115
 
10 Introduction Ask any IT manager about the chall.docx
10 Introduction Ask any IT manager about the chall.docx10 Introduction Ask any IT manager about the chall.docx
10 Introduction Ask any IT manager about the chall.docx
christiandean12115
 
10 Customer Acquisition and Relationship ManagementDmitry .docx
10 Customer Acquisition and Relationship ManagementDmitry .docx10 Customer Acquisition and Relationship ManagementDmitry .docx
10 Customer Acquisition and Relationship ManagementDmitry .docx
christiandean12115
 
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​ (seri.docx
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​  (seri.docx10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​  (seri.docx
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​ (seri.docx
christiandean12115
 
10 ers. Although one can learn definitions favor- able to .docx
10 ers. Although one can learn definitions favor- able to .docx10 ers. Although one can learn definitions favor- able to .docx
10 ers. Although one can learn definitions favor- able to .docx
christiandean12115
 
10 academic sources about the topic (Why is America so violent).docx
10 academic sources about the topic (Why is America so violent).docx10 academic sources about the topic (Why is America so violent).docx
10 academic sources about the topic (Why is America so violent).docx
christiandean12115
 

More from christiandean12115 (20)

100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
100 Original WorkZero PlagiarismGraduate Level Writing Required.docx100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
100 Original WorkZero PlagiarismGraduate Level Writing Required.docx
 
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
10.11771066480704270150THE FAMILY JOURNAL COUNSELING AND THE.docx
 
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
10.11771066480703252339 ARTICLETHE FAMILY JOURNAL COUNSELING.docx
 
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
10.11770022427803260263ARTICLEJOURNAL OF RESEARCH IN CRIME AN.docx
 
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
10.11770022487105285962Journal of Teacher Education, Vol. 57,.docx
 
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST M.docx
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST  M.docx10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST  M.docx
10.11770011000002250638ARTICLETHE COUNSELING PSYCHOLOGIST M.docx
 
10.1 What are three broad mechanisms that malware can use to propa.docx
10.1 What are three broad mechanisms that malware can use to propa.docx10.1 What are three broad mechanisms that malware can use to propa.docx
10.1 What are three broad mechanisms that malware can use to propa.docx
 
10.0 ptsPresentation of information was exceptional and included.docx
10.0 ptsPresentation of information was exceptional and included.docx10.0 ptsPresentation of information was exceptional and included.docx
10.0 ptsPresentation of information was exceptional and included.docx
 
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
10-K1f12312012-10k.htm10-KUNITED STATESSECURIT.docx
 
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
10-K 1 f12312012-10k.htm 10-K UNITED STATESSECURITIES AN.docx
 
10 What does a golfer, tennis player or cricketer (or any othe.docx
10 What does a golfer, tennis player or cricketer (or any othe.docx10 What does a golfer, tennis player or cricketer (or any othe.docx
10 What does a golfer, tennis player or cricketer (or any othe.docx
 
10 September 2018· Watch video· Take notes withfor students.docx
10 September 2018· Watch video· Take notes withfor students.docx10 September 2018· Watch video· Take notes withfor students.docx
10 September 2018· Watch video· Take notes withfor students.docx
 
10 Research-Based Tips for Enhancing Literacy Instruct.docx
10 Research-Based Tips for Enhancing Literacy Instruct.docx10 Research-Based Tips for Enhancing Literacy Instruct.docx
10 Research-Based Tips for Enhancing Literacy Instruct.docx
 
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
10 Strategic Points for the Prospectus, Proposal, and Direct Pract.docx
 
10 Most Common Err.docx
10 Most Common Err.docx10 Most Common Err.docx
10 Most Common Err.docx
 
10 Introduction Ask any IT manager about the chall.docx
10 Introduction Ask any IT manager about the chall.docx10 Introduction Ask any IT manager about the chall.docx
10 Introduction Ask any IT manager about the chall.docx
 
10 Customer Acquisition and Relationship ManagementDmitry .docx
10 Customer Acquisition and Relationship ManagementDmitry .docx10 Customer Acquisition and Relationship ManagementDmitry .docx
10 Customer Acquisition and Relationship ManagementDmitry .docx
 
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​ (seri.docx
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​  (seri.docx10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​  (seri.docx
10 ELEMENTS OF LITERATURE (FROM A TO Z)   1  ​PLOT​ (seri.docx
 
10 ers. Although one can learn definitions favor- able to .docx
10 ers. Although one can learn definitions favor- able to .docx10 ers. Although one can learn definitions favor- able to .docx
10 ers. Although one can learn definitions favor- able to .docx
 
10 academic sources about the topic (Why is America so violent).docx
10 academic sources about the topic (Why is America so violent).docx10 academic sources about the topic (Why is America so violent).docx
10 academic sources about the topic (Why is America so violent).docx
 

Recently uploaded

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 

java_arraylist_0.javajava_arraylist_0.java  Aleksandr Koval.docx

  • 1. java_arraylist_0.javajava_arraylist_0.java/* * Aleksandr Kovalchuk * PRG / 421 * June 20, 2016 * ============================================= =============================================== ================= * * This is a java program to demonstrate the use of ArrayList. * The program allows a user to do the following; * 1. Add, edit, delete different types of animals * 2. Select an animal, and the corresponding characteristics w ill be displayed (such as color, vertebrate or invertebrate, can s wim, etc.) * * ============================================= =============================================== ================= */ import java.util.*;// import statements import java.util.Scanner; publicclassAnimals { publicstaticScanner scan =newScanner(System.in);// enable user keyboard input publicstaticvoid main(String[] args) { ArrayList<Animal> animals =newArrayList<Animal>();// creat e array list char another ='Y';// Check if user wants to perform another ope ration int exitCode =-1;// Program exits upon entering -1 as choice String[] operations =newString[]{"0. Add Animals","1. Update
  • 2. Animal","2. Remove Animal"};// Declare and initialize array to hold operation choices System.out.println("Animals Array Listn================= =========================");// Title while(another =='Y') { System.out.println("Please select an operation: ");// Prompt use r for operation for(int i =0; i < operations.length; i++) { System.out.println(operations[i]);// Display operation options } System.out.println("Enter "+exitCode+" to exit.n----------------- --------------------------");// Inform that -1 exits program int userChoice = scan.nextInt();// Get user input if(userChoice ==0)// Check choice and call appropriate method { addAnimal(animals);// Call add animals method } elseif(userChoice ==1) { updateAnimal(animals);// Call update animals metho d } elseif(userChoice ==2) { removeAnimal(animals);// Call remove animals meth od } elseif(userChoice == exitCode) { System.out.print("Thank you for your time. Goodbye.");// exit message System.exit(0); }
  • 3. System.out.print("Perform another Operation? (Y/N)");// Ask if user wishes to perform another operation String choice = scan.next(); choice = choice.toUpperCase(); another = choice.charAt(0); } System.out.println("n------------------------------------------- nThe array list has the following animals: n"+animals.toString ()+"n------------------------------------------- ");// If no other operation, display elements in array list } // Function to add animal to array list publicstaticvoid addAnimal(ArrayList<Animal> anim) { char stop ='Y'; String name, color, canSwim, hasBackbone;// Properties of ani mal object from Animal class int code; while(stop =='Y') { System.out.print("Animal Code: ");// prompt user for input of p roperty code = scan.nextInt();// Assign property to a variable System.out.print("Name: "); name = scan.next(); System.out.print("Color: "); color = scan.next(); System.out.print("Can Swim?(Y/N): "); canSwim = scan.next(); System.out.print("Has Backbone?(Y/N): "); hasBackbone = scan.next(); anim.add(newAnimal(name, color, canSwim, hasBackbo ne, code));// Add animal element to array list System.out.print("-------------------------------------------n"); System.out.print("Add Another Animal? (Y/N)");// Check if us er wishes to add another animal
  • 4. String choice = scan.next(); choice = choice.toUpperCase(); stop = choice.charAt(0); } // Display animals in the array list after quitting System.out.println("The following animals have been added: n" +anim.toString()+"n-------------------------------------------"); } // Function to edit animal to array list publicstaticvoid updateAnimal(ArrayList<Animal> anim) { char stop ='Y'; String name, color, canSwim, hasBackbone;// animal properties to be updated if(!anim.isEmpty())// First check is array list is not empty then proceed { while(stop =='Y')// while user wishes to update more animals { System.out.print("Enter Animal Code: ");// Prompt user for ani mal code int cd = scan.nextInt();// Capture code from scanner input for(Animal anm : anim)// Loop through array list { if(anm.getCode()>0&& anm.getCode()== cd)// Pull element wit h the given code { System.out.print("Name: ");// prompt user for new details of an imal name = scan.next();// capture details System.out.print("Color: "); color = scan.next(); System.out.print("Can Swim?(Y/N): "); canSwim = scan.next(); System.out.print("Has Backbone?(Y/N): ");
  • 5. hasBackbone = scan.next(); anm.setName(name);// For each property, upda te with the new information anm.setColor(color); anm.setSwim(canSwim); anm.setBackbone(hasBackbone); } else { System.out.print("No matching code found.");// Inform user if no record was found } } System.out.print("Update Another Animal? (Y/N)");// ask user if they wish to update another animal String choice = scan.next(); choice = choice.toUpperCase(); stop = choice.charAt(0); } // Display elements in array list if user is done updating System.out.println("The array list has the following animals: n" +anim.toString()+"n-------------------------------------------"); } else { System.out.println("No animals were found in array list");// Inf orm user if array list has no animal elements } } // Function to remove animal to array list publicstaticvoid removeAnimal(ArrayList<Animal> anim) { char stop ='Y'; if(!anim.isEmpty())// First check that there are animals in the a rray list {
  • 6. while(stop =='Y') { System.out.print("Enter Animal Code: ");// prompt user for ani mal code int cd = scan.nextInt(); Iterator<Animal> itr = anim.iterator();// Declare iterator to iter ate through array list while(itr.hasNext())// Check that there are elements using iterat or { if(itr.next().getCode()== cd)// search for element with the give n animal code { itr.remove();// remove the found element System.out.print("Animal with code "+cd+" successfully remov ed.");// success message } else { System.out.println("No matching code found.");// no matching animal found } } System.out.print("nRemove Another Animal? (Y/N)");// ask if user wants to remove another animal String choice = scan.next(); choice = choice.toUpperCase(); stop = choice.charAt(0); } // Display array list System.out.println("The array list has the following animals: n" +anim.toString()+"n-------------------------------------------"); } else { System.out.println("No animals were found in array list");// No
  • 7. elements in array } } } /** * @author * Name: * Course Title: * Date: * ============================================= =============================================== ================= */ publicclassAnimal// Animal class to hold properties of animal { publicstaticString name, color, canSwim, hasBackbone;// prope rties declaration int code; publicAnimal(StringName,StringColor,StringCanSwim,StringHa sBackbone,intCode)// constructor { name =Name; color =Color; canSwim =CanSwim; hasBackbone =HasBackbone; code =Code; } publicString toString ()// override toString method to display el ements in array list { return"n Animal Code: "+code+"n Name: "+ name +"n Color: "+ color +"n Can Swim: "+canSwim+"n Vertebrate: "+hasBack bone;
  • 8. } // Getters publicint getCode()// get animal code { returnthis.code; } publicString getName()// get animal name { return name; } publicString getColor()// get animal color { return color; } publicString getSwim()// get animal swim value { if(canSwim.equalsIgnoreCase("Y")) return"Yes"; else return"No"; } publicString getBackbone()// get animal backbone value { if(hasBackbone.equalsIgnoreCase("Y")) return"Yes"; else return"No"; } // Setters publicint setCode(int cd)// set animal code for update { return cd; } publicvoid setName(String nm)// set animal name for update { name = nm;
  • 9. } publicvoid setColor(String clr)// set animal color for update { color = clr; } publicvoid setSwim(String swim)// set animal can swim value f or update { canSwim = swim; } publicvoid setBackbone(String bckbn)// set animal has backbon e value for update { hasBackbone = bckbn; } } __MACOSX/._java_arraylist_0.java APPLIED RESEARCH PROJECT1 APPLIED RESEARCH PROJECT16 IMPROVING EMPLOYEE RETENTION AT ABC COMPANY Prepared for: Dr. E. J. Bondoc Shorter University
  • 10. Submitted by: John Doe July 22, 2016 Table of Contents Abstract4 List of Tables5 List of Figures6 Section 1: Introduction7 Background/Situation7 Problem/Issue7 Evidence to Justify the Study7 Definition of Terms7 Summary8 Section 2 Literature Review (Relevant Published Information)9 Theme 19 Theme 29 Theme 39 Theme 49 Summary9 Section 3 Analysis10 Relevant Facts About ABC Company10 Detailed Information about the Specific Issue or Problem10 Analysis of the Causes of the Situation/Problem Issue10 Alternatives and Possible