Page 318 - Computer_Science_F5
P. 318

Questions:


                  (a) How does the Java-based system help you track inventory and improve          Chapter Five: Object oriented programming with Java
          FOR ONLINE READING ONLY
                      efficiency? What features enable effective inventory management?

                  (b) How does the Java system enhance the customer experience at “Java
                      kinywaji”? How does it streamline ordering and provide real-time
                      information to customers?





              Overview of Java programming             (d) Memory management: Java features
              language                                     automatic memory management
                                                           through garbage collection, reducing
              Java is a general-purpose, high-level        the risk of memory leaks.
              programming language, was created by
              James Gosling at Sun Microsystems (now   Applications
              Oracle) in the mid-1990s. It is designed to
              be platform-independent, where it can run   (a) Enterprise software: Java is widely
              anywhere through bytecode compilation        used for developing web applications,
              and the Java Virtual Machine (JVM). Java     server-side applications, desktop
              is known for its simplicity, portability,    applications, games and middleware.
              and extensive ecosystem of libraries and   (b) Mobile development: Java is the
              frameworks.                                  primary language for Android app
                                                           development using the Android SDK.
              Features                                 (c) Big data and cloud computing: Java
              (a) Object Oriented Programming              is utilized in technologies such as
                  (OOP): Java is centered around           Hadoop, Spark, and various cloud-
                  OOP principles, supporting classes,      based services.
                  objects, inheritance, polymorphism,
                  and encapsulation.                   The following are some of the reasons to

              (b) Platform independence: Java code is   use Java programming language:
                  compiled to bytecode, which can be   (a)  Platform independence: refers to the
                  executed on any device with a JVM,        ability of Java code to “write once,
                  allowing for high portability.            run anywhere” on any platform with

              (c) Rich standard library: Java offers        the Java Virtual Machine (JVM)
                  a comprehensive standard library,         installed.  This  eliminates  the
                  providing utilities for networking, I/O,   necessity of developing code again
                  collections, and GUI programming.         for various operating systems. Java


                                                    309
               Student’s Book  Form Five



     Computer Science Form 5.indd   309                                                     23/07/2024   12:34
   313   314   315   316   317   318   319   320   321   322   323