
Explore setting up a Java project by creating a new class, establishing naming conventions, and outlining the project structure for an explorer workflow.
Explore the code construct of Java by examining a class with methods, the main method, and how statements and parameters define method bodies and execution order.
Learn to use single-line, multi-line, and documentation comments in Java to keep code readable and understandable over time, with guidance on when to apply each type.
Define variables as containers to store data, learn to declare and initialize, and assign values. Explore scope from blocks to global, including final and private or public access.
Explore primitive data types in Java, including boolean and numeric types, and how true or false maps across integers and floating-point values, with attention to ranges and 64-bit considerations.
Explore how if statements evaluate expressions and execute code blocks, with examples using mark thresholds, including nested and multiple conditional branches to control program flow.
Explore how to implement a Java switch statement, define cases with break, use default, and map inputs (like numbers or days) to corresponding actions in a sample program.
Explore classes and objects, their state, behavior, and identity, and see how a bank account class uses constructors, methods, access modifiers, and UML to define object interfaces.
Describe how Java classes function as templates for objects, cover public class declarations, file-name conventions, and creating objects with new, plus the role of methods inside classes.
Create objects from the aircraft class using the new operator, access fields and methods with dot notation, and learn encapsulation via private fields and public getters and setters.
Explains constructors in Java and why they initialize object state, including default and private constructors for patterns like singleton, constructor chaining with this and super, and allowed modifiers and parameters.
Learn the difference between parameters and arguments in Java methods, where parameters are variables defined by a method and local to it, while arguments are values passed when called.
Explore method overloading in Java: define multiple methods with the same name but different parameter lists, differentiate by number and type of arguments, while return type does not matter.
Demonstrate method overloading in Java by showing two methods with the same name but different signatures, and how the appropriate method is chosen based on the provided arguments.
Explore data abstraction in object oriented programming by focusing on essential details and filtering out the rest. Use mobile phone messaging and car braking as practical abstractions.
Encapsulate data in Java by wrapping variables with public getters and setters while keeping fields private, enabling controlled access through methods.
Explore how inheritance in object oriented programming lets a class use a superclass's properties and methods, with the extends keyword creating a subclass hierarchy in examples like Toyota and vehicle.
explore inheritance in Java by extending a calculation class to create a new class with inherited addition, subtraction, and multiplication methods demonstrated in a main method.
This lecture demonstrates inheritance in java by modeling vehicle, car, and Toyota, showing that Toyota extends car, which extends vehicle, and how objects are instances of these classes.
Explore static in Java. Learn how static variables are shared across all objects, how static methods and the static context operate, and why main must be static.
Learn how abstract classes in Java declare and define constructors used when creating concrete implementations, initialize common variables, and define static methods, while understanding why they cannot be instantiated.
This lecture demonstrates inner classes within a class, showing how to create an inner object by first referencing the outer class and then invoking its show method.
This Java lab exercise guides implementing a Circuit class with private radius and color, overloaded constructors, getRadius and getArea methods, and a test program demonstrating access via getters.
Explore object oriented programming concepts like association, aggregation, and composition by modeling a movie system with a director class, movie class, and data fields, constructors, getters, and setters.
Extend the thread class to create a new thread, override the run method, and start the thread to execute concurrently.
Learn how to create threads in Java using the Runnable interface. Compare implementing Runnable with extending Thread, and implement a class that implements Runnable and defines a run method.
Learn to inspect and modify thread attributes in Java using getName, getId, getPriority, setPriority(3), and getState, with MIN_PRIORITY and NORM_PRIORITY context.
pause a thread's execution with sleep to suspend the current thread and allow other threads to run; sleep times in milliseconds or nanoseconds are not guaranteed.
Explore method synchronization in java by illustrating two trains executing synchronized steps, producing sequences like 5, 10, 15 and 100, 200, 300, and controlling access and order of execution.
Learn how a synchronized block provides exclusive access to a code section by locking only the block until a thread finishes, mirroring the earlier synchronized method demonstration.
Demonstrate how deadlock arises when two threads hold each other's required resources, using synchronized blocks to show circular waiting and how releasing locks breaks the deadlock.
Download eclipse to set up your java programming environment as part of the professional certificate in java programming.
Explore input and output streams as sources and destinations for data across devices, programs, and memories, and learn how reading into a program and writing from a program work.
Learn byte streams in Java by using input and output streams to read and write eight-bit bytes, and apply a final block to ensure streams close.
Explore a byte streams demo that reads from an input stream, writes to an output stream, handles exceptions, and ensures streams close correctly.
Explore character streams in Java with a file reader demo that copies content from input to output, and learn proper stream handling, closing streams, and creating output files.
Learn how to create directories in Java by running code that creates a new folder and verifies its location, demonstrating directory creation and file organization.
Demonstrate listing the content of a directory, gather each item name, provide its filename, and display the final list to confirm correct path handling.
Explore Java serialization and writing an object to a file by converting objects into a byte sequence that preserves object type and data, enabling JVM-independent reading.
Read a Java object from a file using an object input stream, cast to address, retrieve street and country (United States), and close streams.
Explore Java object serialization and how transient variables affect serialized objects by demonstrating with an address class and reading an object's mobile number as zero when marked transient.
Learn how Java garbage collection reclaims runtime unused memory by automatically removing unreferenced objects. See three cases: not keeping a reference, reassigning a reference, or using an anonymous object.
Explore how Java garbage collection reclaims heap space and triggers finalization before objects are collected, including the finalize method and its constraints.
Explore how exceptions manage runtime errors to maintain normal program flow, prevent termination when handled, and use try-catch-finally constructs, plus checked versus unchecked exceptions and propagation.
Explore how a Java program terminates when a divide-by-zero causes an arithmetic exception, and preview catching and handling the exception to control termination.
Demonstrate a Java try-catch approach to handling exceptions with meaningful messages, stack traces, and a focus on avoiding vague or message-less errors such as division by zero.
Demonstrate using multiple catch blocks to handle different exceptions in a Java program, preventing termination and correctly responding to inputs such as numbers or letters and malformed formats.
Explore Java exception handling with a try and finally demo, examining try blocks, catch blocks, and the final block to ensure robust program execution.
Explore how generics add type safety and reuse the same logic for any data type. See generic classes, methods, and interfaces with type parameters and constructors, reducing code duplication.
Learn how arrays store multiple variables of the same type in contiguous memory, with a size and index-based access. Practice declaring, initializing, and iterating arrays in Java using for loops.
Demonstrate array operations in Java: insert, search, and delete in an unordered array, with input handling, capacity checks, and updating the item count.
This lecture demonstrates an ArrayList in Java, showing how an indexed sequence grows and shrinks dynamically through adding, inserting at specific positions, removing elements, and inspecting size and contents.
This lecture demonstrates a vector-like global array of objects with dynamic size, showing how to add, remove, and access elements by index, and check if the vector is empty.
learn how to find the factorial of a number using recursion in Java programming, applying a recursive approach to compute factorial values within the Java ecosystem.
Explore how to split a string in Java using the split method to separate elements by spaces and handle the resulting tokens in a program.
Learn how to find the greatest common divisor in Java programming, applying a clear method to determine the gcd efficiently.
Learn how to reverse a string in java using recursion, demonstrated with substring operations on sample strings and step-by-step recursive calls.
Java is one of the most common, in-demand computer programming languages owned by the Oracle Corporation. Our associates at Academy of Computing & Artificial Intelligence got together and after carefully analyzing the top must learn computer programming languages in 2020, we were able to conclude that Java is the 3rd most used programming language according to stackoverflow. Furthermore, java has an average salary of $102,000 according to indeed making it a widely used and highly applicable language.
"Java is celebrating its 24th birthday this year and has been one of the most popular programming languages used for developing server-side applications. Java is a practical choice for developing Android apps as it can be used to create highly functional programs and platforms.
This object-oriented programming language does not require a specific hardware infrastructure, is easily manageable, and has a good level of security. Moreover, it is easier to learn Java in comparison to languages such as C and C++. No wonder, nearly 90 percent of Fortune 500 firms rely on Java for their desktop applications and backend development projects.
Despite its industry age, the Java is incredibly stable and not heading for retirement anytime soon. This makes Java one of the most desirable languages among programmers in 2020." (Belani, 2020)
Hence, we came up with this course to benefit the students who are curious to learn the basics of Java.
You will learn the following -
• Basics of Java Programming
• Object Oriented Programming in Java
• Threads in Java
• I/O Streams in Java
• Garbage Collection in Java
• Exception Handling in Java
• Generics in Java
• Collections in Java
At the end of the Course you will understand the basics of Object Oriented Programming. You can enhance your core programming skills to reach the advanced level.
By the end of these videos, you will get the understanding of following areas the
Object Oriented Programming - Classes & Objects,Creating Objects from Classes,Constructors, Methods (parameter vs argument), Method Overloading, Data Abstraction,Encapsulation,Inheritance,Abstract Classes,Nested Classes
Threads
I/O Streams
Java Garbage Collection
Exception Handling