Presentation is loading. Please wait.

Presentation is loading. Please wait.

MSIS 670 Object-Oriented Software Engineering Week 1 Introduction to Java: Applications 1.11.1.

Similar presentations


Presentation on theme: "MSIS 670 Object-Oriented Software Engineering Week 1 Introduction to Java: Applications 1.11.1."— Presentation transcript:

1 MSIS 670 Object-Oriented Software Engineering Week 1 Introduction to Java: Applications 1.11.1

2 Introduction Object-Oriented Programming OOP is more than learning a new language; it requires a new way of thinking. We must no longer think in terms of data structures - we must think in terms of objects. Many languages claim to have "Support for Object Technologies!" 1.21.2

3 1.3 Java The Java TM programming language is designed to meet the challenges of application development in the context of heterogeneous, network-wide distributed environments.

4 1.4 Different Kinds of Java Java Applications Java Applets JavaScript JavaServer Pages Java Servlet technology JavaServer Faces (JSF) JavaBeans

5 1.5 How Java application works

6 1.6 Object An object is a software bundle of variables and related methods. Attribute (State) and Behavior (Method) Message

7 Class 2.7 06/05/2002

8 1.8 The Class Declaration

9 1.9 Class Body Constructor Declarations for the Variables Methods to implement the behavior

10 1.10 Declaring Member Variables A class's state is represented by its member variables. You declare a class's member variables in the body of the class.

11 1.11 Implementing Methods

12 1.12 Understanding Instance and Class Members By default, unless otherwise specified, a member declared within a class is an instance member. To specify that a member variable is a class variable, use the static keyword.

13 1.13 Lab activities (Week 1) Tutorial 1 (JCreator LE)


Download ppt "MSIS 670 Object-Oriented Software Engineering Week 1 Introduction to Java: Applications 1.11.1."

Similar presentations


Ads by Google