Difference between revisions of "Java In-depth"

From CompSciWiki
Jump to: navigation, search
(wording in intro)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{1010Chapter|Introduction=We have made many Java programs up to this point.  Writing a Java program involves the following four steps:
+
{{1010Chapter|ChapterNum=9
 +
|Picture=Wiki_chars02.jpg
 +
|Introduction=We have made many Java programs up to this point.  In this chapter, we will go look further into what happens after you have written the code for your program.  Writing a Java program involves the following four steps:
 
#Thinking about how you will code the program.
 
#Thinking about how you will code the program.
 
#Writing the code for the program.
 
#Writing the code for the program.
 
#Compiling the program.
 
#Compiling the program.
 
#Running the program.
 
#Running the program.
This chapter will focus on steps 3 and 4.  What happens when you click on "Compile Java" in Textpad?  How do the lines of code that you write become a program that you can run on your computer?  This chapter will demystify the process.  Along the way, we'll talk about what makes Java different from other programming languages.
+
This chapter will focus on steps 3 and 4.  What happens when you click on "Compile Java" in Textpad?  How do the lines of code that you write become a program that you can run on your computer?  We will demystify the process.  Along the way, we'll talk about what makes Java different from other programming languages.
}}
+
__NOTOC__
+
  
==[[Compiling]]==
+
|Body=
 +
==[[Compiling and the Java Virtual Machine]]==
 +
==[[Java In-depth Questions|Review Questions and Exercises]]==
 +
==[[Java In-depth Solutions|Solutions]]==
  
==[[Java Virtual Machine]]==
+
|PChapterNum=8
 +
|PChapterLink=[[More With Arrays]]
 +
|NChapterNum=10
 +
|NChapterLink=[[More About Computer Science]]
 +
}}
  
==[[Java In-depth Questions|Review Questions and Exercises]]==
 
 
==[[Java In-depth Solutions|Solutions]]==
 
  
 
{{Category:COMP 1010}}
 
{{Category:COMP 1010}}

Latest revision as of 16:36, 10 August 2010


Wiki 1010 Table of Contents

Wiki chars02.jpg

Chapter 9

We have made many Java programs up to this point. In this chapter, we will go look further into what happens after you have written the code for your program. Writing a Java program involves the following four steps:

  1. Thinking about how you will code the program.
  2. Writing the code for the program.
  3. Compiling the program.
  4. Running the program.

This chapter will focus on steps 3 and 4. What happens when you click on "Compile Java" in Textpad? How do the lines of code that you write become a program that you can run on your computer? We will demystify the process. Along the way, we'll talk about what makes Java different from other programming languages.

  Write a Program a Day Case Studies

Compiling and the Java Virtual Machine

Review Questions and Exercises

Solutions




Chapter 8: More With Arrays Table of Contents Chapter 10: More About Computer Science



Template loop detected: