Building a Product Category System for a Shopping App with Inheritance in Java

Authors

  • Saluky UIN Siber Syekh Nurjati Cirebon
  • Revi Injani UIN Siber Syekh Nurjati Cirebon
  • Citta Amelia UIN Siber Syekh Nurjati Cirebon

DOI:

https://doi.org/10.24235/itej.v9i2.155

Keywords:

shopping application, java, inheritance, product category system, object oriented programming

Abstract

This article discusses the development of a product category system for an online shopping application using the concept of inheritance in Java programming. In a shopping application, efficient product category management is essential to make it easier for users to search for items according to their type and preferences. This system is designed using an inheritance structure to define various product categories hierarchically. The parent category will provide basic attributes and methods, while the child category will inherit and develop these functionalities according to the specific needs of the product. The use of inheritance allows for more modular and manageable coding, and increases the ability to expand the application in the future. With this system, the shopping application not only simplifies the product search process but also allows for more structured and flexible product grouping. The implementation in Java is done using base classes and child classes, as well as a polymorphism mechanism to optimize interactions between product category objects. The results of this study indicate that an inheritance-based approach in Java can improve the efficiency and readability of code in developing shopping applications with dynamic and easily developed product categories.

Downloads

Download data is not yet available.

References

[1] A. S. Reiffer, J. Kübler, M. Kagerbauer, and P. Vortisch, “Agent-based model of last-mile parcel deliveries and travel demand incorporating online shopping behavior,” Res. Transp. Econ., vol. 102, p. 101368, Dec. 2023, doi: 10.1016/J.RETREC.2023.101368.
[2] M. Wu, O. C. Demirag, W. Xue, and M. Xu, “Retail category management under shelf-space dependent demand: The effectiveness of category captainship,” Int. J. Prod. Econ., vol. 276, p. 109365, Oct. 2024, doi: 10.1016/J.IJPE.2024.109365.
[3] I. Elyashevich, V. Sergeev, V. Dybskaya, and A. Ivanova, “Category management for the operational resource procurement,” J. Innov. Knowl., vol. 9, no. 3, p. 100507, Jul. 2024, doi: 10.1016/J.JIK.2024.100507.
[4] K. M. Hosny, A. M. Khalid, W. Said, M. Elmezain, and S. Mirjalili, “A novel metaheuristic based on object-oriented programming concepts for engineering optimization,” Alexandria Eng. J., vol. 98, pp. 221–248, Jul. 2024, doi: 10.1016/J.AEJ.2024.04.060.
[5] M. Gatterer, H. Leonhardt, K. Salhofer, and U. Morawetz, “The legacy of partible inheritance on farmland fragmentation: Evidence from Austria,” Land use policy, vol. 140, p. 107110, May 2024, doi: 10.1016/J.LANDUSEPOL.2024.107110.
[6] L. Aumann, H. Gasteiger, and R. M. Puca, “Early childhood teachers’ feedback in natural mathematical learning situations: Development and validation of a detailed category system,” Acta Psychol. (Amst)., vol. 244, p. 104175, Apr. 2024, doi: 10.1016/J.ACTPSY.2024.104175.
[7] Q. Luo, Q. Deng, G. Gong, X. Guo, and X. Liu, “A distributed flexible job shop scheduling problem considering worker arrangement using an improved memetic algorithm [Expert Systems with Applications 207 (2022) 117984],” Expert Syst. Appl., vol. 239, p. 120161, Apr. 2024, doi: 10.1016/J.ESWA.2023.120161.
[8] D. A. Akinpelu, O. A. Adekoya, P. O. Oladoye, C. C. Ogbaga, and J. A. Okolie, “Machine learning applications in biomass pyrolysis: From biorefinery to end-of-life product management,” Digit. Chem. Eng., vol. 8, p. 100103, Sep. 2023, doi: 10.1016/J.DCHE.2023.100103.
[9] K. N. Rahman, M. W. Hridoy, M. Mizanur Rahman, M. R. Islam, and S. Banik, “Highly secured and effective management of app-based online voting system using RSA encryption and decryption,” Heliyon, vol. 10, no. 3, p. e25373, Feb. 2024, doi: 10.1016/J.HELIYON.2024.E25373.
[10] N. Hajimirza Amin, A. Etemad, and A. Abdalisousan, “Data-driven performance analysis of an active chilled beam air conditioning system: A machine learning approach for energy efficiency and predictive maintenance,” Results Eng., vol. 23, p. 102747, Sep. 2024, doi: 10.1016/J.RINENG.2024.102747.
[11] A. C. B. Trude et al., “‘I Don’t Want an App to Do the Work for Me’: A Qualitative Study on the Perception of Online Grocery Shopping From Small Food Retailers,” J. Acad. Nutr. Diet., vol. 124, no. 7, pp. 804–822, Jul. 2024, doi: 10.1016/J.JAND.2023.12.005.
[12] C. Zhou, D. Xu, and Z. Wang, “Conversion and fusion method of multi-source and different populations maintainability prior data,” Heliyon, vol. 9, no. 11, p. e21208, Nov. 2023, doi: 10.1016/J.HELIYON.2023.E21208.
[13] L. A. Huwaida et al., “Generation Z and Indonesian Social Commerce: Unraveling key drivers of their shopping decisions,” J. Open Innov. Technol. Mark. Complex., vol. 10, no. 2, p. 100256, Jun. 2024, doi: 10.1016/J.JOITMC.2024.100256.
[14] S. Vafainia, R. P. Rooderkerk, E. Breugelmans, and T. H. A. Bijmolt, “Decision support system development for store flyer space allocation: Leveraging own- and cross-category sales effects,” Int. J. Res. Mark., Jul. 2024, doi: 10.1016/J.IJRESMAR.2024.07.002.
[15] Z. Li, C. Guo, L. Wang, and W. Zeng, “A multi-objective co-optimization method of controller parameters for the overall system of small pressurized water reactor,” Energy, vol. 308, p. 132888, Nov. 2024, doi: 10.1016/J.ENERGY.2024.132888.
[16] F. Pournaropoulos, A. Patras, C. D. Antonopoulos, N. Bellas, and S. Lalis, “Fluidity: Providing flexible deployment and adaptation policy experimentation for serverless and distributed applications spanning cloud–edge–mobile environments,” Futur. Gener. Comput. Syst., vol. 157, pp. 210–225, Aug. 2024, doi: 10.1016/J.FUTURE.2024.03.031.
[17] V. N. Huynh Anh, “An Architectural View Model for Designing and Implementing Microservices-based Systems: Use Case in FinTech,” Procedia Comput. Sci., vol. 237, pp. 667–674, Jan. 2024, doi: 10.1016/J.PROCS.2024.05.152.
[18] H. Wu, F. Wu, Z. Li, X. Gao, X. Wu, and G. Bao, “Considering scale effects in water quality analysis to enhance the precision of influencing factor response analysis,” Ecol. Indic., vol. 163, p. 112091, Jun. 2024, doi: 10.1016/J.ECOLIND.2024.112091.
[19] I. Graessler, J. Hentze, and A. Poehler, “Self-organizing production systems: Implications for product design,” Procedia CIRP, vol. 79, pp. 546–550, Jan. 2019, doi: 10.1016/J.PROCIR.2019.02.092.
[20] J. M. Pearson, “A Review: Breeding behavior and management strategies for improving reproductive efficiency in bulls,” Anim. Reprod. Sci., p. 107669, Dec. 2024, doi: 10.1016/J.ANIREPROSCI.2024.107669.

Downloads

Published

2024-12-31

Issue

Section

Articles

How to Cite

Building a Product Category System for a Shopping App with Inheritance in Java. (2024). ITEJ (Information Technology Engineering Journals), 9(2), 100-109. https://doi.org/10.24235/itej.v9i2.155

Similar Articles

41-50 of 79

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)

1 2 > >>