|
6 | 6 |
|
7 | 7 | ### I've included links below to all the freely accessible companion material and quick links to navigate through my solutions by chapter.
|
8 | 8 |
|
9 |
| -### If you would like to contribute, please see: <a href="#contribute">Ways to Contribute</a> |
| 9 | +### See <a href="#contribute">Contribution Guide</a> for coding guidelines and information on how to contribute. |
10 | 10 |
|
11 | 11 | ____
|
12 | 12 |
|
@@ -41,9 +41,35 @@ object-oriented, GUI programming, advanced GUI and Web programming using Java...
|
41 | 41 | ### <a href="https://media.pearsoncmg.com/ph/esm/ecs_liang_ijp_10/supplement/Supplement1dcodingguidelines.html">Java Coding Style Guidelines</a>
|
42 | 42 |
|
43 | 43 | ____
|
| 44 | + |
44 | 45 | <span id="contribute"><span/>
|
| 46 | +## How to Contribute |
| 47 | + |
| 48 | +### _Coding Guidelines_ |
| 49 | +- #### Solution must use Java 8 SE, as this is the version used by the book. |
| 50 | + - #### Every solution should have a java file containing a public main method for testing it. |
| 51 | + - #### Naming convention is: ExerciseCC_EE.java where CC is the chapter number and EE is the exercise number. |
| 52 | + - #### The public Exercise class containing the main method must include a JavaDoc comment on the class with original exercise question. |
| 53 | + - #### Each solution should be its own self-contained program with minimal dependencies on other files. If you need multiple files please create a package for the exercise. |
| 54 | + - #### ch_XX/exercise22_07/Exercise22_07.java |
| 55 | + - #### This allows us to utilize the Exercise Checking Tool [Exercise Checking Tool](https://liveexample.pearsoncmg.com/CheckExercise/faces/CheckExercise.xhtml?chapter=1&programName=Exercise01_01) to verify solutions. |
| 56 | +- ### Example exercise solution: |
| 57 | +```java |
| 58 | +package ch_01; |
| 59 | +/** |
| 60 | +* 1.1 (Display three messages) Write a program that displays Welcome to Java, |
| 61 | +* Welcome to Computer Science, and Programming is fun. |
| 62 | + */ |
| 63 | + public class Exercise01_01 { |
| 64 | + public static void main(String[] args) { |
| 65 | + System.out.println("Welcome to Java"); |
| 66 | + System.out.println("Welcome to Computer Science"); |
| 67 | + System.out.println("Programming is fun"); |
| 68 | + } |
| 69 | + |
| 70 | +} |
| 71 | +``` |
45 | 72 |
|
46 |
| -## Contribution Guide: |
47 | 73 |
|
48 | 74 | ### <em id="prs">Pull requests:</em>
|
49 | 75 |
|
|
0 commit comments