diff --git a/404.html b/404.html index 33d7013..cf80a6f 100644 --- a/404.html +++ b/404.html @@ -4,10 +4,10 @@ - + - +
Welcome to our Docs! Here you Will Find Information about WPILib
, robot programming, and Java.
Welcome to our Docs! Here you will find Information about WPILib
, robot programming, and Java.
Classes are one of the most important features of Java.
+Classes
are one of the most important features of Java. They allow us to represent and package code in a way that is easy and convient to reuse.
+Lets look at an example:
public class Robot {
+
+ private int robotAge;
+ public boolean isRobotOn = false;
+
+ public Robot() {
+ this.robotAge = 3;
+ this.isRobotOn = true;
+ }
+
+}
+There is a lot going on here, but lets break it down.
+First, lets focus on modifiers
. public
and private
before the variables, classes, and functions are modifiers
. Modifiers allow us to give or restrict access to something.