Introduction To Java - MFC 158 G
Fall 2000
Week 3 Assignment -
Java Applications - September 12, 2000
Due Tuesday September 26 - 11:59pm
-
Questions on Chapter
1 and 2, as follows:
-
1.4, 1.5, 2.10, 2.12,
2.20,2.25,2.35
-
Submit questions either as hard copy in class
or as email attachment by due date / time.
Be sure to put your name and Student number on it.
-
Submit programs as an email attachment and
mail them to fineberg@buffalo.edu with the subject heading MFC158 Homework #1
-
put your name and
Student # on as comments at the top of the source code page (as shown below):
Using Java style comments:
---------------Sample
code submission---------------
/////////////////////////////////////////////////////////////////////////////
// Jeff Fineberg
//
// Student #
1322-5677
//
// MFC 158G //
// Chapter 2 - Exercise 2.20 //
// Welcome2.java //
/////////////////////////////////////////////////////////////////////////////
public class Welcome2
{
public static void main( String args[] )
{
System.out.print( "Welcome to
" );
System.out.println( "Java
Programming!" );
System.out.println(args[0]);
}
}
------------End of
sample code submission --------------
-
Be sure to site the
source of any code you may use as a starting template
-
Read Chapter 3
Study for Quiz #1
(Chapter 1, 2 and material from class) to be given next class - Sept 19. Format of the test:
-
Multiple choice
-
True / False
-
Fill in the blanks
-
Short answer
-
Short sample of code
writing - no complete systems
-
1/2 hour duration
What to study?
-
review chapters
-
review the summaries
at back of the chapters
-
review class notes
and discussions (on web or your notes)