Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all work is done #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added deuxiemeEssay/A.class
Binary file not shown.
10 changes: 10 additions & 0 deletions deuxiemeEssay/A.ctxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#BlueJ class context
comment0.target=A
comment0.text=\r\n\ Write\ a\ description\ of\ class\ A\ here.\r\n\r\n\ @author\ (your\ name)\r\n\ @version\ (a\ version\ number\ or\ a\ date)\r\n
comment1.params=
comment1.target=A()
comment1.text=\r\n\ Constructor\ for\ objects\ of\ class\ A\r\n
comment2.params=y
comment2.target=int\ sampleMethod(int)
comment2.text=\r\n\ An\ example\ of\ a\ method\ -\ replace\ this\ comment\ with\ your\ own\r\n\r\n\ @param\ \ y\ \ a\ sample\ parameter\ for\ a\ method\r\n\ @return\ \ \ \ the\ sum\ of\ x\ and\ y\r\n
numComments=3
33 changes: 33 additions & 0 deletions deuxiemeEssay/A.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

/**
* Write a description of class A here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class A
{
// instance variables - replace the example below with your own
private int x;

/**
* Constructor for objects of class A
*/
public A()
{
// initialise instance variables
x = 0;
}

/**
* An example of a method - replace this comment with your own
*
* @param y a sample parameter for a method
* @return the sum of x and y
*/
public int sampleMethod(int y)
{
// put your code here
return x + y;
}
}
Binary file added deuxiemeEssay/B.class
Binary file not shown.
10 changes: 10 additions & 0 deletions deuxiemeEssay/B.ctxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#BlueJ class context
comment0.target=B
comment0.text=\r\n\ Write\ a\ description\ of\ class\ B\ here.\r\n\r\n\ @author\ (your\ name)\r\n\ @version\ (a\ version\ number\ or\ a\ date)\r\n
comment1.params=
comment1.target=B()
comment1.text=\r\n\ Constructor\ for\ objects\ of\ class\ B\r\n
comment2.params=y
comment2.target=int\ sampleMethod(int)
comment2.text=\r\n\ An\ example\ of\ a\ method\ -\ replace\ this\ comment\ with\ your\ own\r\n\r\n\ @param\ \ y\ \ a\ sample\ parameter\ for\ a\ method\r\n\ @return\ \ \ \ the\ sum\ of\ x\ and\ y\r\n
numComments=3
33 changes: 33 additions & 0 deletions deuxiemeEssay/B.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

/**
* Write a description of class B here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class B extends A
{
// instance variables - replace the example below with your own
private int x;

/**
* Constructor for objects of class B
*/
public B()
{
// initialise instance variables
x = 0;
}

/**
* An example of a method - replace this comment with your own
*
* @param y a sample parameter for a method
* @return the sum of x and y
*/
public int sampleMethod(int y)
{
// put your code here
return x + y;
}
}
12 changes: 12 additions & 0 deletions deuxiemeEssay/README.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
------------------------------------------------------------------------
This is the project README file. Here, you should describe your project.
Tell the reader (someone who does not know anything about this project)
all they need to know. The comments should usually include at least:
------------------------------------------------------------------------

PROJECT TITLE:
PURPOSE OF PROJECT:
VERSION or DATE:
HOW TO START THIS PROJECT:
AUTHORS:
USER INSTRUCTIONS:
39 changes: 39 additions & 0 deletions deuxiemeEssay/package.bluej
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#BlueJ package file
editor.fx.0.height=739
editor.fx.0.width=816
editor.fx.0.x=402
editor.fx.0.y=42
objectbench.height=93
objectbench.width=760
package.divider.horizontal=0.6
package.divider.vertical=0.8
package.editor.height=393
package.editor.width=670
package.editor.x=467
package.editor.y=101
package.frame.height=600
package.frame.width=800
package.numDependencies=0
package.numTargets=2
package.showExtends=true
package.showUses=true
project.charset=UTF-8
readme.height=60
readme.name=@README
readme.width=49
readme.x=10
readme.y=10
target1.height=70
target1.name=A
target1.showInterface=false
target1.type=ClassTarget
target1.width=120
target1.x=70
target1.y=10
target2.height=70
target2.name=B
target2.showInterface=false
target2.type=ClassTarget
target2.width=120
target2.x=50
target2.y=160