Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java™ How to Program, 9/e © Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved.

Similar presentations


Presentation on theme: "Java™ How to Program, 9/e © Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved."— Presentation transcript:

1 Java™ How to Program, 9/e © Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved.

2

3

4

5

6

7

8  To compile the program, type java Welcome1.java  To execute the program, type java Welcome1  Launches the JVM, which loads the.class file for class Welcome1.  Note that the.class file-name extension is omitted from the preceding command; otherwise, the JVM will not execute the program.  The JVM calls method main to execute the program. © Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved.

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36


Download ppt "Java™ How to Program, 9/e © Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved."

Similar presentations


Ads by Google