This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Learn Java
WebCoder49 edited this page Nov 29, 2023
·
7 revisions
For Robotics rather than Java learning resources, click here.
The FRC uses a strictly-typed, object-oriented programming language called Java. Although it may look very different to other languages at first, the FRC is a perfect opportunity to use its power in making large-scale projects! Here are some good tutorials on Java in general:
A ⭐ is next to the each of the most important sections.
- ⭐ Java Basics + Object-Oriented Programming Quiz
- Understanding Object-Oriented Programming in Java with a Minecraft Example
- CodeCademy Java Beginners' Course
- A Brief Summary - Code examples to give a refresher if you have programmed with Java or a very similar language (i.e. C#) before
- w3schools Tutorials - More-in-depth tutorials with many code examples for lots of Java's features.
- ⭐ Object-Oriented Programming - Classes, Interfaces, Inheritance, etc. and how to use them in Java
- ⭐ Declaring Variables - This is slightly different to Python/JavaScript due to strict types.
-
Wrapping Up Operators
-
myCar instanceof Vehicle
will only returntrue
ifmyCar
is an instance of aVehicle
or of a class whichextends Vehicle
-
- ⭐ Control Structures -
if
;else
;while
;for
- Switch Statements
- Google - Please ensure you are looking for the FRC (not FTC) and the Java WPILib setup (not C++ or LabView).