Classes are a core concept in Java's object-oriented programming model. The class is an abstract type and an object is an instance of that type. Object oriented Java programming allows classes to be instantiated and inherit features from the Java.lang.object. You will learn about member variables, fields, functions, and methods. Learn to instantiate objects of built-in Java classes and invoke methods on them.
Modeling entities in the real world require you to create custom classes to add to the various built-in classes already provided by Java. Creating such custom classes is key to harnessing the power of object-oriented programming (OOP) in Java. This course focuses on defining such custom classes and then creating objects. Make the most of this course by exploring custom classes, the use of constructors, and modifiers such as private and public. You will also learn the idiomatic Java method of working with getter and setter methods as well as conventions in naming, input parameters, and return types from such methods. After completing this course, you'll not only be able to define custom classes to serve as types in your programs but also instantiate and use objects of these custom classes.
Modeling complex entities involves defining and invoking methods and constructors. Furthermore, defining robust and reusable code requires learning important mechanisms for code re-uses, such as constructor chaining and method overloading. Use this course to delve into these important techniques that are required to write clean and maintainable Java code. Learn how to define methods with the same name but different signatures (i.e., different order and type of input arguments), invoke overloaded methods, and add constructors to a class. This course will also enable you to use the 'this' keyword to invoke multiple constructors, also known as constructor chaining. By the time you are done with this course, you will have the skills to use important code re-use mechanisms such as method overloading and constructor chaining in java.
The best way to avoid mysterious bugs while running your Java code is to be adept at working with static members, argument passing, and object base class methods​. Use this course to master these subtleties: the difference between static and instance variables and methods, the hashCode contract, and how pass-by-value and pass-by-reference semantics play out with argument passing in Java. By the end of this course, you'll be able to model state in classes using both static and instance variables, write methods to avoid unexpected changes in input arguments, and adhere to the hashCode contract so that objects function as expected when placed in common Java containers.
Serialization in Java allows the conversion of the internal state of an object to a byte stream. On the other hand, deserialization enables the recreation of the original object from the byte stream, thus facilitating data transfer. Learn how to define Java classes that are serializable using this course. Explore the use of the Serializable marker interface and the serialVersionUID, and the Externalizable interface. You'll also learn more about backward compatible and backward-incompatible changes, the use of the transient modifier to mark states that should not be serialized, and the conditions under which Java will serialize objects with nested references. When you are finished with this course, you will have the skills and ability to use serialization and deserialization to work with byte streams, stored to files or transferred over a network.
When building applications, there is often the need to represent objects using a wire protocol that is both structured and human-readable. The JavaScript Object Notation (JSON) format is a popular and widely used data format for this very purpose. Use this course to get familiar with how JSON format is used to represent data. Examine how simple primitives, entities, and arrays are represented in JSON and the use of JSON Simple library to create JSON objects. You'll also learn more about the SAX-based interface, the JSON Simple library, and the JSONAware and JSONStreamAware interfaces. After completing this course, you will have the knowledge to work with JSON data, serialize structures to the JSON format, and parse JSON data to get Java objects.
The JavaScript Object Notation (JSON) format is a widely used data format for serializing the internal state of objects to a structured and human-readable format. Take this course to explore the org.json library, which offers powerful features and constructs for the serialization of Java objects to the JSON format and parsing JSON files and structures. Investigate how JSON in the Java library offers more powerful functionality to work with JSON as compared to the JSON Simple library. You'll also explore the use of different methods to create JSON arrays, discover the nuances of working with each of these methods and how they differ from each other. You will have the skills and the ability to use the powerful features of JSON in the Java library to perform JSON serialization and parsing after finishing this course.
Java is a powerful object-oriented programming language that allows you to write code once and deploy it on multiple operating systems. In this course, you'll learn about the Java programming language and related concepts, as well as how to work with the Java Development Kit and the Java Runtime Environment. First, you'll learn about the Java Virtual Machine and object-oriented programming concepts. Next, you'll explore Java features, such as platform independence, security and robustness, architecture neutrality, portability, and performance. Finally, you'll learn about Java distributed applications, multi-threading, dynamic loading, and real-world applications. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java provides the right tools and features to allow you to be productive from the very start. In this Couse, you will learn about the features of the Java Development Kit and the Java Runtime Environment. First, you will learn about the Java Development Toolkit and the Java Runtime Environment. Next, you will learn about the features of the JDK such as the Java Compiler, the Java Interpreter, the Java Disassembler, the Java Debugger, the Java Head File Generator, the Java Documentation and the Java Archive. Finally, you will learn how to install the JDK, FRE, and the IntelliJ for Java Developers. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Writing code that is easy to understand and maintain is crucial to the software development life cycle. Since Java is an object-oriented programming language, the code is already organized and grouped based on objects with properties and methods that are associated with each object. However, as a developer you still need to be cognizant of how you write your code. In this course, you'll learn how to distinguish between clean and messy code and the benefits writing clean code. You'll also learn best practices for adding comments to your code and how to fix messy code. Finally, you'll explore tools that can be used when writing and cleaning code. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
While developing software, being able to use repeatable solutions to commonly occurring problems greatly reduces development time. In this course, you will learn how design patterns can be used to provide repeatable solutions to the common design problems. First, you will learn the importance of design patterns and discuss the types of design patterns such as Behavioral, Creational and Structural. Next, you will write code to demonstrate how to implement the Iterator, Singleton and Adapter design patterns. Finally, you will learn some advanced features of software development, including design anti-patterns, software refactoring techniques, API pattern principles, and API patterns. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is a powerful object-oriented programming language that encapsulates data and code in classes using properties and methods. Java uses objects that can interact with other objects. In this course, you'll learn about the components of a basic Java program such as classes, attributes, methods, and access modifiers. First, you'll examine the basics of Java development and the components of a basic program. Next, you'll learn about Java features, such as constructors, classes, attributes, and methods. Finally, you'll explore Java access modifiers and how to compile and run Java programs. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Object-oriented programming(OOP) is a programming method based on the concepts of 'objects' that contain properties and methods. Objects can inherit their structure from other classes and interfaces, which allows for code reuse. In this course, you'll learn about the features of object-oriented programming. First, you'll learn about the basics of object-oriented programming and how it relates to Java, including the concepts of Java objects, classes, and interfaces. Next, you'll examine OOP concepts such as inheritance, polymorphism, abstract classes, encapsulation, and inner classes. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
The Java programming language is a simple and powerful language to learn. In this course, you will learn Java programming basic and the Java programming style guide. First, you will learn the basic elements of Java including keywords, comments, variables, identifiers, and data types. Next, you will learn the conventions that should be followed when writing Java programs regarding formatting, naming conventions, programming practices, and using Javadoc. Next, you will use the "this" keyword in a Java application to help understand scope. Finally, you will learn about using Java packages including the java.lang package. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Being able to perform mathematical, conditional, and relational operations is a key feature of the Java programming language. In this course, you'll learn about the available mathematical, conditional, relational, bitwise, and unary operations. First, you'll explore the arithmetic and assignment operators available in Java and how to use them. Then, you'll move on to learn about Java unary, equality, and relational operators. Next, you'll examine Java conditional and bitwise operators. Finally, you'll learn about the precedence of Java mathematical, conditional, relational, unary, and parentheses operators. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Strings are one of the most highly used data types in the Java programming language and working with strings efficiently is important for displaying and manipulating textual data. In this course, you'll learn to work with the String class and about the benefits of using the StringBuffer and StringBuilder classes with the stack and heap memory. You'll explore how to manipulate textual data using String variables and work with the String class methods. Next, you'll learn to use the more memory friendly StringBuffer and StringBuilder classes. Finally, you'll examine how to use escaping characters and String formatting specifiers. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Mathematical operations are used to perform calculations of numeric data types and being able to generate random numbers is an important aspect of Computer Science. Java provides full functionality for mathematical operations and random number generation. In this course, you'll learn to use the Java Math and Random number generator classes. First, you'll explore the various methods provided by the Java Math and the Java Random class. Next, you'll learn about and review demonstrations of the use of the java.util.Random, the Java Math.random, and the Java ThreadLocalRandom classes. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
One of the main components of modern programming languages is the ability to make decisions using the data provided to them. Java provides decision statements that can be used to make decisions and being able to make decisions is a fundamental part of the Java programming language. In this course, you'll learn about various types of Java decision statements. You'll examine how to use the if-then-else and switch statements. Then, you'll move on to learn about String comparisons, the comparison operator, the equals() method, and compareTo. You'll also learn about the strengths and weaknesses of each comparison operator and the best time to use each. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
One of the main tasks of computer applications if to process lists of data. Java lists of data can be processed using looping statements. In this course, you will learn the various methods for performing looping in Java programming language. First, you will learn about the various types of looping statements available in Java such as enhanced for loops, for loops, while loops, and do-while loops. Next, you will learn about the best practices to follow when performing looping. Finally, you will learn about the break and continue statement. Finally, you'll learn how to apply all of these looping methods. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Sometimes the unexpected happens in your Java code and you will need to figure out what broke and how to fix it. In this course, you will learn how to handle exceptions and how to debug your Java code. First, you will learn how to debug your code using the Java JDB tool as well as using IntelliJ. Next, you will learn the best practice for debugging Java code and some common syntax and logic errors that you may encounter and methods for fixing these errors. Finally, you will learn how to handle exceptions in your code using the try catch block statements. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
In Java, sometimes you have to iterate through and process a list of data. In this course, you will learn how Arrays and Arraylist are designed to handle looping through lists of data. First, you will learn about Arrays and the ArrayList class. Next you will learn about the Iterator class and how it can be used to processes list of data. Finally, you will learn about special classes used to store and retrieve lists of data such as the LinkedList class, the HashMap class, and the HashSet class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is a powerful object-oriented programming language that encapsulates data and code in classes using properties and methods. Java uses objects that can interact with other objects. In this course, you'll learn about the components of a basic Java program such as classes, attributes, methods, and variables. First, you'll learn about the concepts of Java access modifiers and Java class members. Next, you'll examine the differences between a class, instance, and local variables and how they relate to Java. Next, you'll learn about the concept of overloading and how it applies to the constructor and methods. Finally, you'll explore how to create and instantiate a class with and without constructor parameters and modify the object fields. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java provides different data types that can be used to store and work with different types of data. In this course, you'll learn about these data types and how to perform actions on them. First, you'll learn about the various Java data types and their properties. Next, you'll examine how to declare and initialize variables in Java and purpose of the final keyword. You'll then move on to explore data type casting and the concepts of widening and narrowing casting. Finally, you'll learn about the Java String data type and how it relates to the Java StringBuilder class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is an object-oriented programming language that uses classes to store data and provide methods to access and manipulate this data. In this course, you will learn how to create and use methods to manipulate the data inside a class. First, you will learn about Java methods, accessor methods, and mutator methods and how they are used in Java classes. Next, you will learn about describe overloading in Java and when to use it should be used. Next, you will learn about interfaces and how they are used to specify the behavior that a Class must implement. Finally, you will learn about the static keyword and how it can be applied to a method in a Class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Discover how to get up and running with the Java Development Environment and with the NetBeans IDE to create Java programs. During this course you will discover the purpose of a computer program and the nature of platform-dependency. Learn about Java classes, Java's program structure, and key Java language features. Confirm your Java Development Environment. Install and verify the Java Development Kit (JDK) on Linux. Compile and run a Java program from the command line. Install and explore the Netbeans IDE. Employ NetBeans to create a Java project and class and add a package to it. Write a main method. Use System.out.println and System.err.println to write to the console. Finally, conclude by recognizing NetBeans syntax errors.
Explore the use of variables and operations using strings and numeric types in Java. During this course, you will declare, initialize, and concatenate Java string variables. See how to use the indexOf and substring functions. Declare and initialize Integer and floating-point variables. Learn to modify numeric variables via basic Java mathematical operators. Explore operator precedence rules. Set precedence through parentheses in a Java expression. Assign and concatenate integers and strings. Finally, as a review exercise, you will concatenate various Java variable types to create strings.
Discover how to work with branching and Boolean expressions using if/else statements in Java.During this course, you will examine what a Boolean expression is, and how create IF/ELSE statement branches. Topics include the following: how to employ Boolean Operators, identifying the results of various Boolean expressions, how to create simple and nested IF/ELSE statements, and study the characteristics of arrays. Other subjects covered include how to declare and initialize arrays, access array elements and set their values, loop array elements, and create a FOR loop to print the elements of an array. Finally, you will learn how to use the BREAK and CONTINUE functions to control program flow in a loop.
Explore the essential elements of Java objects, classes, references and methods. During this course, you will discover the characteristics of a Java object. Define Java object components and properties. Use object references. Work with two References for one object. Study how an array of objects is stored in memory. Describe the basic forms of a constructor and a method. Other topics include how to create a class that implements a constructor, how to define method parameters, employ method overloading, and implement methods that return values of a specified type. Finally, you will study how to distinguish between local and instance variables.
Explore object-oriented programming concepts and techniques, in Java. During this course, you will discover various static methods and variables and explore a number of topics. These include the following: how to create and access static members, how to employ constants to represent unchangeable values, how to change numeric variable types through promotion and casting, and convert data values. Other topics include how to convert strings to their primitive numeric types, ciscover access control, and how to distinguish between the public interface and the internal workings of a class. Next, you will learn how to use public and private access modifiers, study encapsulation with object-oriented design, and create class setter methods with value checking. As you progress, other key areas include how to add method parameters to overload a constructor, how to pass an Object Reference, and pass a value. Finally, you will learn how to reassign a reference value in a method.
Explore working with strings in Java, including the use of mutable strings through the StringBuilder class. In this course, you will discover the nature and use of strings and primitive data types, in Java. Observe how to compare and sequence strings, through equality tests and lexicography. Discover mutable strings, the advantages of string builder, and how to concatenate strings. Next, split a string via a regular expression, and learn how to split a paragraph of text into words in a string and iterate over individual words.Other topics include how to consider primitive data types, how to perform the standard modulus mathematical operation on an integer. Finally, you will use combined assignment operators to abbreviate common operations.
Examine the nature and use of Java Development Kit (JDK) objects and nested loops. During this course, you will explore JDK API documentation to learn about Java class libraries. See how to display a date with the LocalDateTime object, with the Java DateTimeFormatter, or with the calendar. Parse a localized date and convert it to ISO format. Parse the ARGS array, and use it in the main method, to accept command line arguments. Observe how to use a WHILE loop construct and nest a WHILE loop. Run a standard FOR loop and nest a FOR loop within the body of another loop.