For this exercise a Java Class called Greetings
needs to be made. This class must contain at four methods:
printHelloWorld()
which writes the well known output Hello, World!printHelloBelgium()
which gives the output Hello, Belgium!printHelloBrussels()
with the modified output Hello, Brussels!printHelloVUB()
resulting in Hello, VUB!To test your own code you can use a main
method but it is not needed to submit it on Dodona.
Hello World - Avant1