SlideShare a Scribd company logo
b) In the main method:
- Create 4 objects of a type TV and add them into a multi-dimensional array of a size [2][2].
- Print all the elements of the multi-dimensional array in the form of rows and columns using
loop.
- Implement an ArrayList of type TV.
- Add 3 TV objects (tv1, tv2, tv3).
- Print the ArrayList using for loop
- Check if tv2 existing inside the list.
- Print the index of tv2.
- Delete all elements of the ArrayList at once.

More Related Content

More from noemiwicks

More from noemiwicks (20)

Briefly explain why much of a planet's geological history is destined.docx
Briefly explain why much of a planet's geological history is destined.docxBriefly explain why much of a planet's geological history is destined.docx
Briefly explain why much of a planet's geological history is destined.docx
 
Botany In continuation with the scientific writing practice or the sca.docx
Botany In continuation with the scientific writing practice or the sca.docxBotany In continuation with the scientific writing practice or the sca.docx
Botany In continuation with the scientific writing practice or the sca.docx
 
Bonita Company's inventory records show the following data- A physical.docx
Bonita Company's inventory records show the following data- A physical.docxBonita Company's inventory records show the following data- A physical.docx
Bonita Company's inventory records show the following data- A physical.docx
 
Bonds Valuation- Introduction A(n) is a long-term contract under which.docx
Bonds Valuation- Introduction A(n) is a long-term contract under which.docxBonds Valuation- Introduction A(n) is a long-term contract under which.docx
Bonds Valuation- Introduction A(n) is a long-term contract under which.docx
 
Biometrics and Personal Privacy Biometric input devices- such as finge.docx
Biometrics and Personal Privacy Biometric input devices- such as finge.docxBiometrics and Personal Privacy Biometric input devices- such as finge.docx
Biometrics and Personal Privacy Biometric input devices- such as finge.docx
 
Bias is less likely to invalidate a cohort study used to assess the ri.docx
Bias is less likely to invalidate a cohort study used to assess the ri.docxBias is less likely to invalidate a cohort study used to assess the ri.docx
Bias is less likely to invalidate a cohort study used to assess the ri.docx
 
Besides growing autotrophically- Chlamydomonas can grow heterotrophica.docx
Besides growing autotrophically- Chlamydomonas can grow heterotrophica.docxBesides growing autotrophically- Chlamydomonas can grow heterotrophica.docx
Besides growing autotrophically- Chlamydomonas can grow heterotrophica.docx
 
Benefits are an important part of a compensation mix- Benefits come in.docx
Benefits are an important part of a compensation mix- Benefits come in.docxBenefits are an important part of a compensation mix- Benefits come in.docx
Benefits are an important part of a compensation mix- Benefits come in.docx
 
Below is a Food Web with the interconnected food chains diagramed betw.docx
Below is a Food Web with the interconnected food chains diagramed betw.docxBelow is a Food Web with the interconnected food chains diagramed betw.docx
Below is a Food Web with the interconnected food chains diagramed betw.docx
 
Belawis a series of cost of goods sold sections for companies B-M-O- a.docx
Belawis a series of cost of goods sold sections for companies B-M-O- a.docxBelawis a series of cost of goods sold sections for companies B-M-O- a.docx
Belawis a series of cost of goods sold sections for companies B-M-O- a.docx
 
Based on where is generated- an 1-O device request is considered an ev.docx
Based on where is generated- an 1-O device request is considered an ev.docxBased on where is generated- an 1-O device request is considered an ev.docx
Based on where is generated- an 1-O device request is considered an ev.docx
 
Based on the table given above- which of the following is TRUE- 1) All.docx
Based on the table given above- which of the following is TRUE- 1) All.docxBased on the table given above- which of the following is TRUE- 1) All.docx
Based on the table given above- which of the following is TRUE- 1) All.docx
 
Based on the graph below- which of the following best describes the cl.docx
Based on the graph below- which of the following best describes the cl.docxBased on the graph below- which of the following best describes the cl.docx
Based on the graph below- which of the following best describes the cl.docx
 
Based on the following figure taken from Okhovat et al-- choose the co.docx
Based on the following figure taken from Okhovat et al-- choose the co.docxBased on the following figure taken from Okhovat et al-- choose the co.docx
Based on the following figure taken from Okhovat et al-- choose the co.docx
 
Based on studies of selection on natural populations to date- the evol.docx
Based on studies of selection on natural populations to date- the evol.docxBased on studies of selection on natural populations to date- the evol.docx
Based on studies of selection on natural populations to date- the evol.docx
 
Based on Baker's tree- do you think that penguin species present in So.docx
Based on Baker's tree- do you think that penguin species present in So.docxBased on Baker's tree- do you think that penguin species present in So.docx
Based on Baker's tree- do you think that penguin species present in So.docx
 
Based off the National Eating Disorder Association How do the agency's.docx
Based off the National Eating Disorder Association How do the agency's.docxBased off the National Eating Disorder Association How do the agency's.docx
Based off the National Eating Disorder Association How do the agency's.docx
 
Bacterial Transformation- The pGLO system The bacterial cells are plat.docx
Bacterial Transformation- The pGLO system The bacterial cells are plat.docxBacterial Transformation- The pGLO system The bacterial cells are plat.docx
Bacterial Transformation- The pGLO system The bacterial cells are plat.docx
 
Baby weights- The weight of male bables less than 2 months old in the.docx
Baby weights- The weight of male bables less than 2 months old in the.docxBaby weights- The weight of male bables less than 2 months old in the.docx
Baby weights- The weight of male bables less than 2 months old in the.docx
 
Azure Corporation leaves the Colorful Corporation Federal consolidated.docx
Azure Corporation leaves the Colorful Corporation Federal consolidated.docxAzure Corporation leaves the Colorful Corporation Federal consolidated.docx
Azure Corporation leaves the Colorful Corporation Federal consolidated.docx
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 

Recently uploaded (20)

Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 

b) In the main method- - Create 4 objects of a type TV and add them in.docx

  • 1. b) In the main method: - Create 4 objects of a type TV and add them into a multi-dimensional array of a size [2][2]. - Print all the elements of the multi-dimensional array in the form of rows and columns using loop. - Implement an ArrayList of type TV. - Add 3 TV objects (tv1, tv2, tv3). - Print the ArrayList using for loop - Check if tv2 existing inside the list. - Print the index of tv2. - Delete all elements of the ArrayList at once.