educative.io

The Complete Java Crash Course (Devin Balkcom)


Variables and expressions - Arithmetic expressions and operators Learn how to compute expressions in Java, and how to convert between different types of data using casting. Be careful of the difference between integer and floating-point division! View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5727270706610176). Flow of control: loops and conditionals - Conditional and logical operators Learn to use boolean values in Java, a necessary tool for loops and conditionals. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5097662860754944). Flow of control: loops and conditionals - if-statements Learn the syntax for if-statements in Java. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5633494390669312). Flow of control: loops and conditionals - foreach-loops Learn how to use foreach-loops to loop over list-like structures. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5649952705347584). Hello, Java! - Smile: a first Java program Learn the basic structure of a Java program, while writing code to draw a smiley face. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5644309118320640). Hello, Java! - Writing your own static methods Learn to write static methods, which play a similar role to ordinary functions in other languages. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5710606233501696). Hello, Java! - Printing to the screen Use standard method calls to print to the screen. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5680163505307648). Variables and expressions - Method parameters and return values Learn how to define methods in Java, with typed method parameters and typed return values. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5714772351778816). Flow of control: loops and conditionals - for-loops Learn how to use for-loops for counting and indexing. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5666823336886272). Variables and expressions - Variables; integer values with `int` Java is a statically-typed language, which means that you must explicitly create each variable and tell what type of data (for example, an integer) that variable will store before using it. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5746821397741568). Variables and expressions - Fractional values of numbers with `double` Use a double to store a number that has values after the decimal point. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5660612814176256). Classes, objects, and methods - Access specifiers: public and private data and methods Learn how to use the keywords public and private, and how to use getter and setter methods to maintain consistent object state. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5731346630574080). Challenge project: tetrominos - Tetrominos: the game Get ready to write a falling-blocks puzzle game. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5769623379116032). Variables and expressions - Text values with String and char Learn to work with text data in Java. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5699714196439040). Variables and expressions - Arrays Arrays in Java, like Python lists, Javascript arrays, and C arrays, store ordered values. Java arrays cannot be resized without creating a new array and making a copy. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5722383033827328). Flow of control: loops and conditionals - while-loops Learn the syntax of while-loops in Java. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5705718560718848). Classes, objects, and methods - Classes define objects A class is used to define the custom data structure that makes up an object of that class. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5751399832879104). Classes, objects, and methods - Classes contain methods Classes contain the code for methods that act on objects; methods have access to the object using the special variable "this". View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5658091668373504). Challenge project: tetrominos - Step 2: The Board class The interesting modeling of the game will be in `Board.java` and other class files. So start reading code at `Board.java`. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5713050069893120). Challenge project: tetrominos - Getting started with the JDK and an IDE Install and use the tools you'll need to start writing complete Java programs on your own machine. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5691420614590464). Challenge project: tetrominos - Step 1: Getting the starter code Explore the provided code for the Tetrominos user interface, in preparation for writing the game. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5646392177459200). Challenge project: tetrominos - Step 3: The Block class Add a new class to represent and draw individual square blocks in the Tetrominos game. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5736449051721728). Challenge project: tetrominos - Bonus: Tetrominos User Interface with Swing What you need to know about the built-in Java user interface library to write Tetrominos. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5108026616840192). Challenge project: tetrominos - Finishing Tetrominos A few hints on how to finish the Tetrominos game. View the lesson [here](https://www.educative.io/collection/page/13890001/5690145009303552/5679128418189312).
About the The Complete Java Crash Course (Devin Balkcom) category [The Complete Java Crash Course (Devin Balkcom)] (1)