1.12. Java

Activecode now supports Java, C++ and C through a backend server, not in the browser. You can use them by specifying the language to be java, cpp or c In addition it supports either Python3 or Python2 outside of the browser using python3 or python2 as the language. You are limited to non-graphical programs in any of these options.

1.13. Unit Tests in Java

You can also have hidden unit tests in Java using JUnit tests. Place the unit tests after ‘====’.

Here is a for loop that counts from 1 to 5. Can you change it to count from 2 to 10?

In this project, you will create a class that can tell riddles like the following:

Riddle Question: Why did the chicken cross the playground? Riddle Answer: To get to the other slide!

You have attempted of activities on this page