Code Monkey home page Code Monkey logo

Comments (6)

e-goto avatar e-goto commented on August 28, 2024 3

Yep same issue. There are too many small mistakes in part 2 of the course

from java-programming.

ZdravekSprite avatar ZdravekSprite commented on August 28, 2024 3

Waiting for the "Coming Soon" parts to open, I switched to the Finnish version of the course and there it is:

public static void main(String[] args) {
Laskin laskin = new Laskin();
Laskin superLaskin = new SuperLaskin();
int luku = 3;
luku = superLaskin.vahennaLuvusta(luku);
luku = superLaskin.lisaaLukuun(luku);
luku = laskin.lisaaLukuun(luku);
System.out.println(luku);
}

which means that an error occurred while translating the task it should be:

public static void main(String[] args) {
Counter counter = new Counter();
Counter superCounter = new SuperCounter();
int number = 3;
number = superCounter.subtractFromNumber(number);
number = superCounter.addToNumber(number);
number = counter.addToNumber(number);
System.out.println(number);
}

from java-programming.

 avatar commented on August 28, 2024 2

Sad to see this issue open for almost 2 years and not yet fixed.

from java-programming.

ZdravekSprite avatar ZdravekSprite commented on August 28, 2024

There is error in program code that is in quiz:
number = counter.lisaaLukuun(number);
should be:
number = counter.addToNumber(number);
so may be is intended that one of the two
number = superCounter.subtractFromNumber(number);
is
number = superCounter.addToNumber(number);
then correct answer will be 8

from java-programming.

fandangos avatar fandangos commented on August 28, 2024

Sad to see this issue open for almost 2 years and not yet fixed.

It was reported in 24th of April 2020 so better prepare the 3 year old birthday party.

from java-programming.

 avatar commented on August 28, 2024

Sad to see this issue open for almost 2 years and not yet fixed.

It was reported in 24th of April 2020 so better prepare the 3 year old birthday party.

And the funny thing is, I ran into it again this year revisiting mooc as a refresher, only to see my comment in this thread. Oopsies!

from java-programming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.