Home
Videos uploaded by user “Appficial”
Java Do While Loop Example Where User Prompts to Start Program Over  - Appficial
 
05:55
A do-while loop is a post-test loop that executes its body of code at least once, and then repeats while the loop's expression evaluates to true. Once the expression is false, the loop ends and your Java program continues with the next statement outside the loop. Notice there is a semi-colon at the end of the while statement In this example of a do-while loop, we use the Scanner class to read keyboard input. We ask the user if they want to run the program over again, yes or no. If the user types yes (ignoring case), then the program repeats itself. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 3869 Appficial
Installing Android Studio 3.0 on Windows 10 - Android App Development Tutorial - Appficial
 
04:59
Learn how to install Android Studio 3.0 on Windows 10 in this step-by-step tutorial from start to finish. The steps are similar for installing Android Studio on Mac OS as well. In this video we cover the following topics: - How to find Android Studio 3.0 (or higher) - How to download it - How to install Android Studio - How to create an Desktop Shortcut (Windows) - How to install any required SDK components - How to start Android Studio for the first time. You can download Android Studio here: https://developer.android.com/studio/index.html Check out the video on getting started with Android Studio by building a Hello World app: https://youtu.be/PBGTeaZB26Y Please Subscribe for many more Android tutorial videos coming soon!
Views: 18495 Appficial
Java printf Method - Displaying data using System.out.printf - Java Programming Tutorial - Appficial
 
05:13
In addition to println and print, there is also a printf method, which allows you to do formatted console output System.out.printf(FormatString, ArgList); FormatString is a string that contains text also may contain special formatting specifiers such as %s, %f, or %d %d - integers (integer decimals) %f - floating-point numbers %s - Strings ArgList (optional) is a coma separated list of arguments that will be formatted according to the format specifiers Please SUBSCRIBE, and check out more Java Tutorials! Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 1457 Appficial
How to build the Hello World App in Android Studio - Beginners Guide - Appficial
 
06:37
Watch and learn how to get started using Android Studio by building the Hello World application. Hello World is the first app you should build to verify that your Android Studio development environment is installed correctly, and that you are able to run an Android app on a AVD (Android Virtual Device) Emulator. In this video I demonstrated creating an emulator for the Google Pixel phone, and you can watch to see how Android Studio builds and installs the app and open's it on the emulator. Please Subscribe for many more Android tutorial videos coming soon!
Views: 3073 Appficial
Java Void Methods VS. Value Returning Methods - Learn Java Programming - Appficial
 
03:48
A void method simply performs a task and terminates For example: System.out.println(“Hello world”); A value-returning method performs a task and then also returns (or sends) a value back to the code where it was called For Example: int answer = Math.pow(2,3); Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java Methods Intro https://youtu.be/m2CZ8ZcW7Rg Java Method Modifiers https://youtu.be/h_UBnO7qJgc Java Void Methods VS. Value Returning Methods https://youtu.be/gGIr9kvg6V4
Views: 626 Appficial
Java Escape Characters - Newline Backslash Single and Double Quote Escape Sequences - Java Tutorial
 
05:01
An escape character is a two-character sequence that starts with \ such as \n for new line, \t for tab, \\ for a backslash, \' to print a single quote, and \" to print a double quote. There are also \b for the backspace character, and \r for carriage return, and \f for form feed, but these are not commonly used as the others. It represents a special character, that would otherwise be unprintable. The characters are reserved in Java and and must be properly escaped to be used within strings. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 2670 Appficial
Java Methods - Intro to Creating a Method - Java Programming Course - Appficial
 
05:03
A method in Java is a set of related Java statements to accomplish a task. Reasons for creating methods: - Improve program readability: don’t clutter your program with computation details - Independent modules from rest of the application: A programmer can focus on developing a method (module) independently of the other methods - Code reuse: Avoid duplicate code throughout your program – Math methods like pow() and abs() prevent a programmer from having to write a similar method You create methods by writing a method definition, which includes a method header and a block of statements. The method header includes method modifiers, the return type, the method name and parentheses. Methods must be defined within a class. A method call is when you execute the method. Methods are able to call other methods Subscribe to learn more Java!
Views: 517 Appficial
Java Method Modifiers - Public vs Private - Static vs Non-Static Methods - Appficial
 
05:07
There are several Java method modifiers that may be part of a method declaration, here are the commonly used ones Access Modifiers: public – the method is public accessible to code outside the class private – the method is not available to code outside the class static – the method belongs to a class, not to a specific object Subscribe to learn more Java!
Views: 646 Appficial
Java Whitespaces - Whitespace Characters in your Program  - Java Tutorial - Appficial
 
03:21
Whitespace refers to blank spaces between items within a Java statement, and to blank lines, or white space, between two Java statements. A compiler ignores most whitespace. It is good practice to use whitespaces to make your program more readable. Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 831 Appficial
Returning Arrays from a Method in Java - Array Return Type - Java Programming Tutorial - Appficial
 
03:29
A method can return a reference to an array. The return type of the method must be declared as an array of the correct data type. SUBSCRIBE!
Views: 653 Appficial
Java Floating-Point Comparison - double / float Variable Comparison with Epsilon - Java Programming
 
03:06
Floating-point numbers should not be compared using == because some of these numbers cannot be exactly represented You may expect them to be equal when comparing them, but instead they are just very close and == will come out as false Therefore, floating-point numbers should not be compared for exact equality but instead for being close enough The epsilon is a difference threshold for indicating that floating-point numbers are equal (it is usually 0.0001) Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 620 Appficial
Java String Access Methods - length charAt substring indexOf - Java Programming Tutorial - Appficial
 
04:44
These are String methods that are useful for accessing information about Strings charAt (index) - the character at the specified index length() - the number of characters in the String isEmpty() - true if length is 0 or false otherwise indexOf (item) - the index of the first item it finds, or -1 if not found substring (startIndex, endIndex) - a substring from the starting index position to the end index Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 636 Appficial
Java Runtime Errors with Examples - Java Programming Tutorial - Appficial
 
04:09
A Java runtime error happens when your program crashes while it is running. The compiler doesn’t help you in this situation. Once you get a runtime error, your program stops executing. This could happen when the user is supposed to enter an integer, but types a letter instead, of if you try to divide by zero using integers. Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 1760 Appficial
How to Download and Install the Eclipse IDE for Java Developers and Run Hello World - Appficial
 
06:51
An Integrated Development Environment (IDE) is a software application used to create software Eclipse and most IDEs consists of a - Source code editor - Build automation tools - Debugger - Version control system - Class and object browsers Popular Java IDEs include - Eclipse: http://www.eclipse.org/ - NetBeans: https://netbeans.org/ - IntelliJ IDEA https://www.jetbrains.com/idea/ You can download any version of Eclipse here: https://www.eclipse.org/downloads/eclipse-packages/ Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 637 Appficial
Java Sentinal Value in a While Loop - Easy Java Programming Tutorial - Appficial
 
04:34
Sometimes the end point of input data is not known. A sentinel value can be used to notify the program to stop acquiring input. If the input is from a user, the user could enter a specific value to stop collecting data for a running total. For example –1, where normal input is a positive number Programs that get file input typically use the end-of-file marker (EOF) to stop acquiring input data. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 300 Appficial
Basic Java Output using print and println Methods and HelloWorld Program - Appficial
 
04:45
When learning any new programming language for the first time, you typically start with a “Hello World” program This is the most basic program you can write that simply prints the words “hello world” to the screen The point is to verify that - Your Java development environment is set up correctly - You are able to compile your program - You are able to run your program - You are able to view the results of the program Printing output to a screen is a common programming task This is typically done using either the println or print methods println prints “Hello World” and moves the cursor to the next line print prints “Hello World” and cursor stays at the end of the line A String literal is text in your program surrounded by double quotation marks Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 437 Appficial
Java Type Conversions and Type Casting - int to double - double to int - Appficial
 
02:09
Sometimes an expression may be a combination of integer and floating-point numbers. Type conversion is when you change one data type to another. Integer to double conversions is fine: 2 becomes 2.0 Double to integer conversion loses precision: 2.6 becomes 2. Implicit conversion is when the compiler performs a type conversion automatically, as in this example where 2 is converted to 2.0. Type casting is forcing conversion of one type to another by prefixing an expression with (type) Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 1193 Appficial
Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path
 
07:57
You can start the command line by typing cmd in the Windows search To compile a Java program on the command line, you use the javac command javac HelloWorld.java To compile a Java program on the command line, you use the java command java HelloWorld If these commands don’t work, you need to add the JDK to your PATH in your Windows Environment Variables Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 406 Appficial
Java Flushing Output with the Flush Method - Send Buffer to Output Stream - APPFICIAL
 
01:59
A buffer is a portion in memory that is used to store a stream of data (characters). These characters sometimes will only get sent to an output device (e.g. monitor) when the buffer is full or meets a certain number of characters. This can cause your system to lag if you just have a few characters to send to an output device. The flush() method will immediately flush the contents of the buffer to the output stream. SUBSCRIBE!
Views: 327 Appficial
Java Syntax Errors and Compiler Errors - Java Tutorial by Example - Appficial
 
03:43
There are some strict rules you need to follow when writing a program, and breaking these rules will give you a syntax error A common syntax error is forgetting a semicolon A compiler will give you a message when you get a syntax error The compiler tries to point you the line of code where something went wrong Syntax errors are known as a type of compile-time error, since they are detected by the compiler Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 474 Appficial
A Basic Overview of Computer Hardware - CPU - Memory - Storage and IO Devices - Appficial
 
04:00
The major hardware components of a computer are Processor Memory Storage devices Input and output devices A processor, also called a CPU (central processing unit), runs the computer’s programs. The CPU’s main parts include the arithmetic logic unit and control unit. The CPU reads, decodes and executes program instructions and performs operations (by reading/writing data to/from memory). When you turn your computer on, a program called the BIOS (basic input/output system) sets up the computer’s basic hardware. The processor then executes another program called the operating system (OS), which allows users to concurrently run programs that interface with the computers hardware. The CPU performs the fetch, decode, and execute cycle operations in order to process program information. The CPU’s control unit fetches, from main memory, the next instructions in the sequence of program instructions. The instruction is encoded in the form of a number. The control unit decodes the instruction and generates an electric signal. The signal is routed to the appropriate component of the computer (such as the ALU, a disk drive, or some other device). The signal causes the component to perform an operation. Main Memory, also called RAM (random-access memory) , contains currently running programs and data used by those programs. RAM is divided into units called bytes (8 bits of 1s and 0s). Each byte in memory is assigned a unique number called an address. RAM is volatile, so if you turn the computer off, its contents are erased. A processor spends much of its time moving data between memory and storage. A common way to make a computer faster is to increase the RAM. A storage device, also called disk or hard drive, is any computer hardware that is capable of storing data. It is non-volatile, meaning you can store the data for a long time on the device. Common storage devices include a disk drive, solid state drive, USB drive, external drive, or CD/DVD. Input devices collect data from the outside world. Common input devices include a keyboard, mouse, digital camera, or scanner Output devices send data to the outside world. Common output devices include printers, monitors. Some devices such as disk drives and touchscreens perform both input and output, and are called I/O devices. Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 993 Appficial
Java Scanner Class Methods - Reading Input from the Keyboard - next nextInt nextDouble char
 
07:44
The Scanner class (java.util.Scanner) is used to read data into your program. See the Java API for more information on the class Scanner https://docs.oracle.com/javase/8/docs/api/java/util/Scanner.html Here are some commonly used Scanner methods: next() - read as String up the the blank space delimiter nextLine() - read a String to the end of the line, including spaces nextInt() - read an integer nextDouble() - read a double (floating point number) nextBoolean() - read a boolean nextLong() - read a long nextByte() - read a byte nextShort() - read a short next().charAt(0) - read the first character of a string (char) Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 1128 Appficial
Java While Loop by Example - Java Programming Looping Structures Tutorial - Appficial
 
03:56
A while loop is a pre-test loop that executes its body of code repeatedly while the loop's expression evaluates to true. Once the expression is false, the loop ends and your Java program continues with the next statement outside the loop. An iteration is one execution of the loop body. A loop variable counts the number of loop iterations and is typically used to control the loop. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 334 Appficial
Java Methods - Passing Variables by Value vs. Pass by Object Reference - Appficial
 
02:58
When you pass a variable to a method, it is passed by value. A copy of the variable is passed to the method. Watch the example in this video. When you pass an object to a method, it is passed by reference. The actual object is passed to the method. Watch the example in a future video, so please subscribe!
Views: 235 Appficial
Introduction to Programming and Java - Java Tutorial Intro - Appficial
 
01:16
Programming is the process of creating software (programs), which is a set of instructions that tells the computer what to do A programmer is a person that creates software You probably use software everyday - Video games like Call of Duty, and Minecraft - Mobile apps like Candy Crush and Snapchat - Word processors and Spreadsheets like Word and Excel - Web applications like Facebook and Ebay - Tax and accounting software like TurboTax Java is one of the most widely used programming languages There are over 3 billion devices that use Java, including personal computers and mobile devices The apps you use on your Android phone are written in Java Java is fast, secure, and reliable Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 751 Appficial
Java Integer Overflow Problem Explained by Example - Java Tutorial - Appficial
 
02:08
An integer variable in Java has a minimum and maximum value that it can support, and cannot support a number outside of that range. Integer overflow occurs when the value being assigned to an int variable is greater than the maximum value the variable is able to store. Integer overflow is a common issue when doing arithmetic. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 850 Appficial
Java Nested if-else Statements by Example - Easy Java Tutorial - Appficial
 
03:36
A nested if-else statement is when an if-else statement appears the inside another if-else statement. The inner if block of code is executed only if the outer if’s expression evaluates to true. The else part of a nested if-else is optional. The curly braces { } are only required if there are more than one statements that belong to either the if or the else. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 766 Appficial
How to Compare Arrays in Java - Comparing 2 Arrays by Example - Learn Java Programming - Appficial
 
04:45
When comparing two arrays is Java, you cannot use the == operator to compare arrays because iIt will only tell you if the two arrays point to the same object in memory You need to compare arrays in this way - Determine if they have the same size - If that’s true, loop through each element of one array, and compare it with the other array at the same index - If all of the elements are equal, then you the two arrays are equal PLEASE SUBSCRIBE!
Views: 341 Appficial
Java Enumerations - The Enum Type for an Enumeration - Java Programming Example - Appficial
 
03:45
Enumeration type is a way to declare a data type which can only be assigned a value from a specific set of values Items in the curly braces are named constant values public enum Identifier {ENUMPERATION1, ENUMERATION2, ...} When declaring an enumeration, include both the enumerated type and the enumerator within that type Identifier someState = Identifer.ENUMERATION1; Enumerations are typically used to illustrate a state machine, where the program behaves based on a current situation (state) Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 192 Appficial
Java Declaring and Initializing Variables - Java Tutorial - Appficial
 
04:30
A variable is a memory location to store data, such as an integer or floating point number. First you need to declare a variable, using the proper data type such as int or double, respectively. Multiple variables can be declared in one Java statement. Second you typically assign it a value. The very first time you assign a variable a value is called initialization. Not initializing a variable is a common error in programming. The compiler creates memory on the Java Stack to store the variables So when you read or print a variable, it’s value is coming from the variable’s memory location. The assignment statement looks like this : identifier = value; You first need to declare the data type of the identifier using one of the 8 primitive data types: int, byte, short, long, double, float, char, and boolean. The = sign is called the assignment operator. The right hand of the = sign can be a value or an expression Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 496 Appficial
Creating an Array in Java - How to Declare and Initialize Arrays Easy Tutorial - Appficial
 
05:43
You can declare an array like this: dataType[] myArray; The array must be explicitly allocated with the new operator: myArray = new dataType[numberOfElements]; The number inside the brackets is size of the array. Once you create the array, you cannot update the size of the array later on. You can initialize elements of an array in several different ways. Please Subscribe for more Java tutorial videos coming soon
Views: 303 Appficial
Displaying Currency in Java using printf and the DecimalFormat Class - Java Programming - Appficial
 
05:03
Sometimes you need to display floating-point number such as 123.456 to something like $123.45. You can use the System.out.printf() method. Replace %f with $%.2f, where .2 means two decimal places You can also use the DecimalFormat class (java.text.DecimalFormat). Create a DecimalFormat object, specifying the format such as “$0.00” in the constructor. Call the object’s format() method, passing the floating point number as an argument Please SUBSCRIBE, and check out more Java Tutorials! Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 439 Appficial
Java Primitive Data Types - byte short int long float double char and boolean - Java Tutorial
 
04:56
There are 8 primitive data types used to create variables: byte, short, int, long, float, double, char and boolean Primitive data types are used to declare variables, not objects. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 468 Appficial
Introduction to Memory Management - ArrayList vs LinkedList Performance Java Tutorial APPFICIAL
 
03:45
There is a performance problem when you add or remove items that are not at the end of an ArrayList. Each shift of an item from one element to another element requires a few processor instructions. A LinkedList avoids this performance because it does not use contiguous memory locations. Instead, each item contains a "pointer" to the next item's location in memory, as well as the data being stored. However, please note that it is faster to search an ArrayList because it is index based, especially if it is sorted, of if you know the index of where something is. When searching a linked list, you need to traverse through it all. SUBSCRIBE!
Views: 273 Appficial
Java Increment and Decrement Operators i++ and i-- by Example - Java Programming Tutorial
 
03:20
Java Increment and Decrement Operators i++ and i-- It is very common to increment and decrement a variable. Java provide the ++ or -- unary operators to do this task. int i = 0; i++; //increment i--; //decremnt You can place these operators before or after a variable. If an increment or decrement are the only operations in a statement, there is no difference between prefix and postfix notation. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 607 Appficial
Java Character Comparison - Comparing char Variables by Example - Java Programming Tutorial
 
02:50
You can compare char variables (characters) with relational operators Characters are stored in memory using the Unicode character format Unicode is stored as a sixteen (16) bit number. Characters are ordinal, meaning they have an order in the Unicode character set and can be compared to each other Please SUBSCRIBE, and check out more Java Programming Tutorials! Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 587 Appficial
Getter and Setter Methods for Java Classes - Accessor and Mutator - APPFICIAL
 
05:39
Fields are typically declared with an access modifier such as public or private. Fields are typically made private to ensure information hiding In order to access the value of a field, a public getter (accessor) and setter (mutator) method is provided. A mutator method may modify a field belonging to a class. An accessor method can retrieve the field, but not modify it. SUBSCRIBE!
Views: 237 Appficial
What is an Array in Java - The Concept of Arrays Explained - Java Programming Tutorial - Appficial
 
01:41
In Java, a typical variable stores one data item. Imagine if you wanted to create 365 variables, for each day of the week, that would take forever. An array is an object that allows you to store a collection of data items. Each of these data items, elements, can be accessed directly. The location of each element is called the index. An index typically starts at 0 and the last element of the array is the size of array - 1 Subscribe for more videos on creating arrays coming soon!
Views: 575 Appficial
Java Boolean Data Type by Example - TRUE or FALSE -  Easy Java Tutorials - Appficial
 
03:12
boolean is a primitive data type for representing one of only two possible values: true or false. You can a assign boolean variable it to the results of a logical expression, which evaluates to either true or false. Boolean is sometimes referred to as a flag, or boolean flag. It is good practice to make the boolean variable name sound like a true or false question boolean isSubscribed=true; //please subscribe! Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 359 Appficial
Java Logical Operators - AND && - OR || - NOT ! - Java Boolean Expressions - Learn Java - Appficial
 
04:20
A logical operator allows you to combine expressions into one bigger expression. Each operator involves two expressions a and be below. a && b (a and b) a || b (a or b) !a (not a) Use parentheses to make reading these expressions easier, and to make the order of evaluation explicit Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 559 Appficial
Static Methods and Fields in a Java Class - Static Method VS. Instance Method - APPFICIAL
 
05:41
A static method belongs to a class, and not to instances of the class. You should call the method like this: ClassName.methodName(); A static field belongs to a class, and not to instances of the class. SUBSCRIBE!
Views: 131 Appficial
Java if else Statements - Branching Structures if-else - Easy Java Tutorial - Appficial
 
04:33
Branching (also called decision structures) allows your program to execute Java statements based on a boolean expression. This is accomplished by using the keywords if and else. if (expression) { //statements for if } else { //statements for else } The else part of an if-else statement is optional The curly braces { } are only required if there are more than one statements that belong to either the if or the else. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 498 Appficial
Java Break and Continue Statements in a While Loop Example - Java Programming - Appficial
 
05:42
A break statement in a loop causes it to immediately exit the entire loop structure. A continue statement in a loop causes it to exit the current loop iteration, and evaluate the expression for the next loop iteration. You should try to avoid using break and continue statements in your loop structures because it makes your program hard to read and debug. Try to design your loop in a way that doesn’t require them! Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 492 Appficial
Java Multi-branch if-else-if Statement - Decision Structures - Java Tutorial - Appficial
 
03:08
A multi-branch if-else (also called an if-else-if statement) allows you to have more than just two branches. It is usually used to detect ranges of numbers. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Java if else Statements https://youtu.be/xuWOW4UgyAI Java Relational Operators https://youtu.be/rYX6AQo9YsU Java Multi-branch if-else-if Statement https://youtu.be/h-qsFBw1IVg Java Nested if-else Statements https://youtu.be/6PdGXsKUWys Java Distinct If Statements https://youtu.be/64A42pRUsTI Java Logical Operators https://youtu.be/yW8IShT12yQ Java Short Circuit Evaluation https://youtu.be/JKktfkOWyJY Java Switch Statement https://youtu.be/9KncitnPqTE Java Precedence Rules for Logical and Relational Operators https://youtu.be/SIb52SKdkXE Java Boolean Data Type https://youtu.be/DITfFpSVAJA Java String Comparison Methods https://youtu.be/-lQhD3pOA8s String Access Methods https://youtu.be/gBgyMyBnoXE String Modifier Methods https://youtu.be/YaL9PCOG0X4 The Conditional Expression https://youtu.be/WR-PfTLAYaE Floating-point Comparison https://youtu.be/m0PLceVGB00 Character Comparison https://youtu.be/YhiL7QDLeRQ System.out.printf() method https://youtu.be/g_BsIuRVfvk Displaying Currency in Java https://youtu.be/hjsTu8300vg Variable Scope https://youtu.be/CauIGSh8KsA
Views: 341 Appficial
Java Infinite Loop by Example in a While Looping Structure - Java Programming - Appficial
 
02:24
An infinite loop is a loop that will execute indefinitely because the loop's expression is always true. This is a common programming error when creating loop structures. Make sure there is some code in the body of the loop that will modify the loops expression, so that it eventually becomes false. There are times when you actually do want an infinite loop. For instance, if you wanted to monitor the health of a live system, you can check if the system is up every minute or so, using an infinite loop. Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com Increment and Decrement Operators https://youtu.be/tTpiIAOyVKw The While Loop https://youtu.be/aw1nXLpog8U Infinite Loops https://youtu.be/MGVDTjxfUfM Do-While Loop https://youtu.be/qFl9FBB3RrI Do-While Loop Example Where User Prompts to Start Program Over https://youtu.be/qNSSkzmCgYg For Loop https://youtu.be/r0fxnF0VWvw Nested Loop https://youtu.be/FiywVkhF3D4 How to Determine Which Loop to Use? https://youtu.be/XJlGmvASgmU Sentinal Value https://youtu.be/p0GHpcgg3yo Input Validation using Loops https://youtu.be/tXgO8ZNuJ4c Break and Continue Statements in a Looping Structure https://youtu.be/gJqUwp62Ur0 Enumerations https://youtu.be/_GqgDq1pSHI
Views: 302 Appficial
What does THIS mean in Java? Implicit Parameter in Setter or Mutator Methods - APPFICIAL
 
03:59
The this Implicit Parameter: When an object calls a method, it is known as an implicit parameter of the member method. Within a member method, the implicitly-passed object reference is accessible with the keyword this. Using this in a class is required in a method where the name of the parameter matches the name of a field. SUBSCRIBE!
Views: 181 Appficial
How to Create an Excel File in Java - Writing a CSV File - Java Programming Tutorial - APPFICIAL
 
04:58
To create an Excel spreadsheet in Java, follow these steps: 1. Give the filename a .csv extension, which stands for Comma Separated Values 2. Print out the first line of text to the file as a comma separated list of column headers 3. Print out each row of data on a separate line, comma separated Here is an example of a .csv file. You can open this in Excel! Name, Age, Weight Bob, 24, 123 Candice, 23, 122 David, 35, 222
Views: 295 Appficial
Writing Javadoc Comments and creating an API with the Javadoc Tool on Eclipse - Java - Appficial
 
08:29
Javadoc comments are those that start with a /** and end with a */. They are typically found above every class and method definition. Javadoc is a tool that parses your program for Javadoc comments and generates an Application Programming Interface (API). An API is documentation for your program in HTML format, that looks similar to Oracle’s Java API. You can include block tags (annotations) in your Javadoc comments such as @param to describe a method parameter @return to describe method return type You can run the Javadoc tool on an IDE or on the command line with: javadoc –d destination ProgramName.java
Views: 452 Appficial
Java String - Example of Declaring and Initializing Strings and calling Methods - Java Tutorial
 
02:51
The String data type is for declaring a sequence of characters. String literals are enclosed in double quotes, such as “Java”. A String can be any combination of characters including an empty String, a blank, numbers, digits, symbols and escape characters. String is a class data type, not one of the 8 primitive data types, which means that Strings are objects and not variables. An object consists of data that belongs to the object, and methods (actions) that the object can do. See the Java API for more info on the class String: https://docs.oracle.com/javase/8/docs/api/java/lang/String.html Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com The Basic Parts of a Java Program - Class and Main Method Header and Comments https://youtu.be/sHEk2DSBnSg Java Declaring and Initializing Variables https://youtu.be/Ag8ZH5qRzqM Naming Java Identifiers - Variables, Methods, and Object Names - Java Tutorial https://youtu.be/g0NR6Z0ac1A Java Reserved Keywords - Words like public static void class int double https://youtu.be/dklOXLDdeqc Java Primitive Data Types - byte short int long float double char and boolean https://youtu.be/hHTrxfEWPy0 Java Integers - int long byte and short Integer Variables https://youtu.be/FsrIsDSgTiQ Java Floating Point Numbers - float and double https://youtu.be/6JRufRrO1mQ Java E Notation - Doing Scientific Notation in a Java Program https://youtu.be/9tTKa9jEgNs Java Integer Division and Dividing by Zero - Java Tutorial - Appficial https://youtu.be/46Ngr6eczpA Java Basic Math Arithmetic Expressions and Precedence Rules https://youtu.be/IMavhbsbIeQ Java Compound Operators - Combined Assignment Arithmetic Operator Examples https://youtu.be/2TP7XOyCW1o Java Constants - Constant Variables using Keyword Final https://youtu.be/cj_5D8-vrfQ Java Math Class Methods https://youtu.be/Guhb43pivCs Java Type Conversions and Type Casting https://youtu.be/hXxFVXBxQ1Q How to Convert Binary numbers to Decimal Numbers https://youtu.be/g1TOLO2FsvQ Java Characters - The char Primitive Data Type https://youtu.be/LBQrD2nkKQg Java Escape Characters https://youtu.be/jZpSjEGMlUQ Java String Class https://youtu.be/3G9IcmbV4Gs Java Scanner Class https://youtu.be/A1QXB_6ALDA Java Integer Overflow https://youtu.be/lTnUbx5Gi6o Java Style Guidelines https://youtu.be/P7xur0m6-do
Views: 137 Appficial
Basic Java Input using Scanner methods next and nextInt - Java Tutorial - Appficial
 
03:49
Programs are not very useful if they do not interact with people (users) . Programs usually require users to enter input data such as numbers or text. This can be done by using a Java class called Scanner (java.util.Scanner) . Scanner is a text parser that can read data from an input source such as a keyboard or a text file. Please SUBSCRIBE, and check out some other Java Tutorial videos! How to Download and Install the Java JDK for Setting Up Your Java Development Environment https://youtu.be/ea6HQYr1-Yw How to Download and Install the Eclipse IDE for Java Developers and Run Hello World https://youtu.be/XWrE6a-1kP8 Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path https://youtu.be/d0L-eJQqHHo Introduction to Programming and Java https://youtu.be/Vyir5Eq98U4 Basic Java Output using print and println Methods and HelloWorld Program https://youtu.be/9rvhUs8vbJA Basic Java Input using Scanner methods next and nextInt https://youtu.be/bwxeRBCdTgQ Java Comments https://youtu.be/PTHzzvDIkc0 Java Whitespaces - Whitespace Characters in your Program https://youtu.be/UNDUSLBxW7c Java Program Bugs and Debugging https://youtu.be/EMksG-7JxT0 Java Syntax Errors and Compiler Errors https://youtu.be/zIK93bY-SEo Java Runtime Errors https://youtu.be/bP3IY5yjlm8 Java Logic Errors https://youtu.be/qMX0fERgsCw Java Compiler Warnings https://youtu.be/mL-8IUxvMtU History of Computers and Programs https://youtu.be/aB6YYY1bgHk A Basic Overview of Computer Hardware https://youtu.be/1s95nYsH3u4 History of Java https://youtu.be/lTnjL4QdXC4 The Java Compiler and the JVM https://youtu.be/qFijSRfsWgU
Views: 393 Appficial