Difficulty: Beginner
Estimated Time: 10 minutes

Markdown editor for creating steps

Changes are automatically saved.

In this first scenario, you'll take the role of Mary, a student who has successfully completed her first year in (Computing | IT Management) in IT Tallaght. Mary found the first year software development (Java) modules quite challenging and is glad to have arrived in 2nd year. However, Mary is a budding IT professional who is eager to study Software Quality Assurance and Testing.

However, her lecturer has warned all students to be aware of software bugs. A software bug is an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.

In particular, a software bug can be found in the most innocent of programs. The purpose of this scenario is to

Code can be marked as user-executable via your code here


Step 1 of 2

Write a simple java program to display hello world

`class TestSum { public static void main(String[] argv) { int x = 3; int y = 2; int result = sum(x, y); System.out.println("The sum of " + x + " + " + y + " is : " + sum); }

public static int sum(int a, int b) {
    return a+b;