Lecture Java Programming Language: Introduction has main content such as desktop computing, operating systems, enviroment, programming languages, networks, number systems, storing data in memory, why program in java, a java application, formatting output. | Introduction Ho Dac Hung 1 Desktop computing 2 Desktop computing 3 Operating Systems Operating system software is run automatically when the computer is turned on and is used to control processing and peripherals run applications software and control input output. 4 Enviroment Enviroment refers to a computer s hardware and software confirguration. 5 Programming Languages A programming language is a set of words codes and symbols that allow a programmer to give instructions to the computer. 6 Networks A network is a combination of hardware and software that allow computers to exchange data and share softwares devices. 7 Number Systems The electrical circuits on an IC have one of two states off or on. Therefore the binary number system base 2 was adopted for use in computers. 8 Storing Data in Memory Computer memory is measured in bytes. Data stored in memory is reffered by an address. An address is an unique binary representation of a location in memory. 9 File A file is related data stored on a persistent media. A file can be an application or the product of an application. 10 Storage Devices Storage devices use a persistent media to maintain files. 11 Why Program in Java Java in an object-oriented programming language. Object-oriented programming OOP evolved out of the need to develop complex program in a systematic modular approach. Java is more than just a programming language it is a platform. 12 Object Class and Packages Object-oriented program development involves selecting objects to perform the tasks outlines in a program specification. An object consists of related data and the instruction for performing actions on that data. 13 Object Class and Packages The design for an object is called a class. A class defines the type of data and actions that will be associated with an object of that class but not the actual data for an individual object. Classes are required to create objects. 14 Object Class and Packages 15 Object Class and Packages A package .