SlideShare a Scribd company logo
1 of 1
1) How can you group related classes in Java? 2) True or False: two classes are allowed to have
the exact same name as long as they are in different packages. 3) How would you import every
class in the java.util package without importing each one, one at a time? 4) True or False: all
classes belong to some package. 5) Mark all statements that are valid "best practices" to use
when writing code: Attempt to minimize the number of variables in your classes. Mark variables
private where possible. Always initialize data. Break up classes with too many responsibilities
into two or more other classes.

More Related Content

More from fitzlikv

More from fitzlikv (20)

1- Complete an in-depth analysis of the Railway Labor act including it.docx
1- Complete an in-depth analysis of the Railway Labor act including it.docx1- Complete an in-depth analysis of the Railway Labor act including it.docx
1- Complete an in-depth analysis of the Railway Labor act including it.docx
 
1- Complete the table and indicate the critical path- Name 2- Crash th.docx
1- Complete the table and indicate the critical path- Name 2- Crash th.docx1- Complete the table and indicate the critical path- Name 2- Crash th.docx
1- Complete the table and indicate the critical path- Name 2- Crash th.docx
 
1- Children Example- Let X- number of children with positive genetic t.docx
1- Children Example- Let X- number of children with positive genetic t.docx1- Children Example- Let X- number of children with positive genetic t.docx
1- Children Example- Let X- number of children with positive genetic t.docx
 
1- Cancer cells are characterized by- Increased cell differentiation.docx
1- Cancer cells are characterized by-   Increased cell differentiation.docx1- Cancer cells are characterized by-   Increased cell differentiation.docx
1- Cancer cells are characterized by- Increased cell differentiation.docx
 
1- Business processes DO NOT include A- Flows of material- information.docx
1- Business processes DO NOT include A- Flows of material- information.docx1- Business processes DO NOT include A- Flows of material- information.docx
1- Business processes DO NOT include A- Flows of material- information.docx
 
1- Briefly describe the major challenges faced by the diabetes care de.docx
1- Briefly describe the major challenges faced by the diabetes care de.docx1- Briefly describe the major challenges faced by the diabetes care de.docx
1- Briefly describe the major challenges faced by the diabetes care de.docx
 
1- Assume a pipeline processor with 6 stages- Fetch Instruction (FI)-.docx
1- Assume a pipeline processor with 6 stages- Fetch Instruction (FI)-.docx1- Assume a pipeline processor with 6 stages- Fetch Instruction (FI)-.docx
1- Assume a pipeline processor with 6 stages- Fetch Instruction (FI)-.docx
 
1- At what age did the infant weigh 15 pounds 2- What was the infants.docx
1- At what age did the infant weigh 15 pounds  2- What was the infants.docx1- At what age did the infant weigh 15 pounds  2- What was the infants.docx
1- At what age did the infant weigh 15 pounds 2- What was the infants.docx
 
1- Analyze the types of innovation and the processes followed at Neome.docx
1- Analyze the types of innovation and the processes followed at Neome.docx1- Analyze the types of innovation and the processes followed at Neome.docx
1- Analyze the types of innovation and the processes followed at Neome.docx
 
1- Analyze the types of innovation and the processes followed at Datav.docx
1- Analyze the types of innovation and the processes followed at Datav.docx1- Analyze the types of innovation and the processes followed at Datav.docx
1- Analyze the types of innovation and the processes followed at Datav.docx
 
1- Analyze and describe three network topologies and four network type.docx
1- Analyze and describe three network topologies and four network type.docx1- Analyze and describe three network topologies and four network type.docx
1- Analyze and describe three network topologies and four network type.docx
 
1- An information system A- Collects- processes- stores- and distribut.docx
1- An information system A- Collects- processes- stores- and distribut.docx1- An information system A- Collects- processes- stores- and distribut.docx
1- An information system A- Collects- processes- stores- and distribut.docx
 
1- Add an interface Resizable to Project in Ex 1 - Has a method resize.docx
1- Add an interface Resizable to Project in Ex 1 - Has a method resize.docx1- Add an interface Resizable to Project in Ex 1 - Has a method resize.docx
1- Add an interface Resizable to Project in Ex 1 - Has a method resize.docx
 
1- Abstract 2- Table of contents 3- Introduction- here u provide conte.docx
1- Abstract 2- Table of contents 3- Introduction- here u provide conte.docx1- Abstract 2- Table of contents 3- Introduction- here u provide conte.docx
1- Abstract 2- Table of contents 3- Introduction- here u provide conte.docx
 
1- A survey was conducted to determine how people rated the quality of.docx
1- A survey was conducted to determine how people rated the quality of.docx1- A survey was conducted to determine how people rated the quality of.docx
1- A survey was conducted to determine how people rated the quality of.docx
 
1- A reason for emerging zoonotic diseases is a) lack of vaccine effic.docx
1- A reason for emerging zoonotic diseases is a) lack of vaccine effic.docx1- A reason for emerging zoonotic diseases is a) lack of vaccine effic.docx
1- A reason for emerging zoonotic diseases is a) lack of vaccine effic.docx
 
1- A domestic and global challenge that requires a One Health approach.docx
1- A domestic and global challenge that requires a One Health approach.docx1- A domestic and global challenge that requires a One Health approach.docx
1- A domestic and global challenge that requires a One Health approach.docx
 
1- A densely settled core of Census Tracts with a population of 72-000.docx
1- A densely settled core of Census Tracts with a population of 72-000.docx1- A densely settled core of Census Tracts with a population of 72-000.docx
1- A densely settled core of Census Tracts with a population of 72-000.docx
 
1- - This class calculates a waitperson's tip as 15- of the bill.docx
1- - This class calculates a waitperson's tip as 15- of the bill.docx1- - This class calculates a waitperson's tip as 15- of the bill.docx
1- - This class calculates a waitperson's tip as 15- of the bill.docx
 
1- (Screen Shot) of your Network- be sure your device names contain yo.docx
1- (Screen Shot) of your Network- be sure your device names contain yo.docx1- (Screen Shot) of your Network- be sure your device names contain yo.docx
1- (Screen Shot) of your Network- be sure your device names contain yo.docx
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 

Recently uploaded (20)

philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...Navigating the Misinformation Minefield: The Role of Higher Education in the ...
Navigating the Misinformation Minefield: The Role of Higher Education in the ...
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdf
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 

1) How can you group related classes in Java- 2) True or False- two cl.docx

  • 1. 1) How can you group related classes in Java? 2) True or False: two classes are allowed to have the exact same name as long as they are in different packages. 3) How would you import every class in the java.util package without importing each one, one at a time? 4) True or False: all classes belong to some package. 5) Mark all statements that are valid "best practices" to use when writing code: Attempt to minimize the number of variables in your classes. Mark variables private where possible. Always initialize data. Break up classes with too many responsibilities into two or more other classes.