A downloadable game for Windows, macOS, Linux, and Android

Download NowName your own price

This is an example of a java-class. There are two constructors. And -> to call the method x, you can't make it with an nstance-variable because x is static. static means it is only one-time in the whole program. For example, in a game the variable level is only one-time, it is static. so to call the static method x, you must bring a Foo2-Object, then the program knows which i-variable is meant

Published 7 hours ago
StatusReleased
PlatformsWindows, macOS, Linux, Android
AuthorBardon
GenreEducational

Download

Download NowName your own price

Click download now to get access to the following files:

Foo2.class 1.3 kB
Foo2.java 1.2 kB

Leave a comment

Log in with itch.io to leave a comment.