Every important term from Week 1 — search or browse by topic
javac), the JRE, and development tools. You need this installed to write and compile Java programs.javac).java source code into .class bytecode files. It also checks for syntax errors before creating the bytecode..java files. This is what gets compiled into bytecode.javac. This is what the JVM reads and executes. You never edit these directly.com.pluralsight.app).byte, short, int, long, float, double, boolean, char.int (whole numbers) and double (decimal numbers) are the most commonly used. boolean holds true/false. char holds a single character..equals() to compare Strings, not ==.final keyword makes a variable's value unchangeable after it is assigned. By convention, constant names use ALL_CAPS.42 is an int literal, 3.14 is a double literal, "hello" is a String literal.int, division truncates the decimal.x += 3 means the same as x = x + 3.++x) or postfix (x++).++x increments first, then returns the new value. x++ returns the current value first, then increments. The difference matters when used inside an expression.+ to join Strings together, or to join a String with another value. Java automatically converts the non-String side to text.true or false. Used in if statements and loops. For Strings, use .equals() instead of ==.&& (AND) requires both sides true. || (OR) requires at least one side true. ! (NOT) flips true to false and vice versa.condition ? valueIfTrue : valueIfFalse.java.util that reads user input from the keyboard (System.in). Create one in main and pass it to other methods that need input.Scanner to read what the user types.nextLine() reads a full line of text. nextInt() and nextDouble() read numbers but leave the newline character in the buffer.%d for integers, %f for decimals, %s for strings, %.2f for 2 decimal places.nextInt() reads a number, it leaves the newline in the buffer. A following nextLine() picks up that leftover newline and appears to "skip." Fix: add an extra scanner.nextLine() after nextInt().true. The most basic way to make decisions in your program.false. Exactly one of the two blocks will always execute.true.case defines a value to match. break exits the switch (without it, execution "falls through" to the next case). default runs if no case matches.case block is missing break, execution continues into the next case. This is usually a bug, but sometimes used intentionally to group cases.-> instead of : and break. No fall-through risk — each case runs only its own code.void.main()..git folder that stores the full history of every change.main. Branches let multiple people work on different features without interfering with each other..java files go here, organized by package.com.pluralsight). Artifact ID is the name of your specific project. Together they uniquely identify your project in Maven.Tip: Use Ctrl+F for browser-level search, or use the filter box above to narrow by topic and term name.