Description
Section 1: Introduction to Data Structure
Course Structure for DSA
This section gives a brief introduction to the Java programming language, Data structures and algorithms in Java. The section also includes the definition for few of the frequently used terms in this course like database, record, field, key and others.
This chapter tells you what are the information which will be covered in this course about data structures and algorithms in Java. It gives a chapter wise brief introduction.
Section 2: Classes and Objects
In this chapter we will see what are objects and classes in Java. Object includes Methods and Variables. The other topics included in this section are
Creating and using objects
The Dot Operator
Defining a Class
Modifiers – Access control, Static, Abstract, Final
Declaring Instance variables
Declaring Methods
Different Types of Code Constructor
Constructors are used to initialize a newly created class. The section also explains the different types of constructors like class constructor, Code constructor and argument constructor with examples of Java programs for easy understanding.
Java Keywords and Java Comments
This section gives a list of keywords in the Java Programming language. There are around 50 keywords in Java and each is explained with a brief description and an example.
Basic Java Commands are also included in this section explained using a simple Java program.
Sources File Declaration Rules
In this chapter you will learn how to write a source file in Java, behaviour of Java compiler and JVM in running and compilation.
Basically there are two data types in Java – Primitive and Reference/Object Data Type. Primitive data types are divided into eight and includes Byte, short, int, long, float, double, boolean and char. Each data type is given in detail with an example.
Section 3: Decision Making
Decision making structure in Java is where a condition is to be tested by the program and if the result of the condition is true then the particular set of statements are to be executed and if the condition fails then the other set of statements are to be executed. The decision making structure is explained with a simple program.
The different decision making statements are if statement, If else statement, nested statement and switch statement. All these statements are given in detail in this chapter.
The switch statement lets a variable to be tested for equality against a set of values. An example program is given for easy reference.
Loop statement in Java helps to execute a statement multiple number of times in the programming. There are different type of loops available in Java – while loop, for loop and do while loop. This section contains explanation for these loops.
Loop control statements changes the execution method from its normal way. Break statement and continue statement are different control structures.
Section 4: Numbers Class
Numbers use primitive data type often. These are called wrapper classes which comes under number. There are a lot of instance methods that are used under number class. These methods are mentioned with a brief description in this chapter. Few methods are compareTo(), equals(), valueof() and others.
Java Lang Math is again a wrapper class which is explained in this section
Section 5: Character class
This chapter contains the following topics under it
What is a character class
Escape sequences and example
Character Methods and example
Java Lang Character – Eclipse
Section 6: String Class
Strings are a sequence of characters in Java. Java offer the string class to create and manipulate strings. The major topics included under this section are
Creating strings
String Length
Concatenating strings
Creating format strings
String methods
Section 7: Arrays
This section again explains the fundamentals of using string in Java programming language.
Array to for Each Iteration
In this chapter you will learn how to use the for each loop in Java with arrays.
Section 8: Advanced Arrays
Array is a storage place which stores sequential collection of elements which are of same type. This tutorial contains the following sub headings
Declaring Array variables
Creating arrays
Processing arrays with example
The for each loop
Returning an array from a method
The arrays class
The date class in Java is available in java.util package and has two constructors. The different methods of data class are also explained in detail in this section. The other topics included are
Getting current date and time
Date comparison
Date formatting
Date format codes
Date and Time conversion characters
Parsing strings into dates
Measuring elapsed time
Sleeping for a while
Gregorian calendar class
Section 9: Regular Expressions
Regular expression helps to find out matches of strings or set of strings using a special syntax. It can also be used to edit or manipulate the data. There are three main classes – Pattern class, Matcher class and PatternSyntax Exception.
This section helps you to understand how to convert String into an InputStream in Java.
This section explains how the AND or OR in IF statement is used in Java. Examples are given for reference.
Example of Pattern Matching
Java has a package for pattern matching under regular expressions. This is explained under this section with few examples for easy understanding.
Study method reviews the string and returns a boolean value saying that the pattern is correct or not. This concept is explained under this chapter.
Append Replacement and Tail Method
The matcher class provides appendReplacement and appendTail method which is used for text replacement. These two methods are given with examples in this tutorial.
Java methods are collection of statements used to perform an operation. The other topics included under this chapter are
Creating methods with example program
The Void Keyword
Method overloading
Using Command line arguments
The this keyword
The constructors
Variable arguments
Finalize method
Section 10: Methods and File IO
Different Types of Methods in Eclipse
This chapter explains what is eclipse in java and the different perspectives of eclipse. It also lets you to learn how to install, configure and run eclipse in Java
Streams represent a sequence of data. The two kinds of streams InputStream and OutputStream are explained in detail under this section. This chapter also includes the following subheadings in detail with examples wherever needed.
Byte streams
Character streams
Standard streams
Reading and writing files
File InputStream
File OutputStream
File navigation and I/O
Creating and listing directories in Java
Exception arises during the execution of a problem in Java. Exception occurs because of various reasons. Three types of exceptions are Checked Exceptions, Unchecked Exceptions and Errors. The exception hierarchy and exception methods are also explained in detail in this chapter.
Section 11: OOPS Concepts
In this section we will learn about basics of OOPS, the concepts of OOPs in Java and advantages of OOPs.
The super keyword is a reference variable in Java which is used to refer parent class object. It includes the usage of Java super keyword
Virtual function or virtual method is an overridable function in Java. It is an important part of OOPs. The concept of virtual function is explained in detail under this chapter with examples.
Inheritance means the process through which the properties of one class is acquired by another. The types of inheritance are demonstrated in this chapter.
This section explains what is overriding in Java, benefits of overriding, rules for method overriding and using the super keyword with example.
Introduction Java Abstraction
Here you will learn what is abstraction, abstract classes, inheriting the abstract class and abstract methods with example.
Encapsulation is one among the four concepts of OOP. This section explains the meaning of encapsulation in Java and the benefits of encapsulation.
Interface is a reference type in Java and is a collection of abstract methods. The other topics included in this section are
Declaring interfaces
Implementing Interfaces
Extending interfaces
Extending Multiple Interfaces
Tagging Interfaces
Package means grouping of related terms. The chapter includes the following topics
Creating a package
Import Keyword
Directory structure of packages
Under this chapter the collection framework is explained along with its goals. The several interface of the collection framework is also included under this chapter.
Section 12: Multi Threading Overview
Contents of Multi Threading Overview
A multi thread program can handle variety of tasks at the same time. The other topics included are
Life Cycle of a thread
Create Thread by Implementing Runable Interface
Create Thread by Extending Thread Class
Methods of Threads
Java Multithreading concepts
Section 13: Concurrency
Java Concurrency Multi Threading
Multithreading means there will be multiple threads of execution inside a single program. It is a great way to increase the performance of program. Example of Java Concurrency Multi Threading are also included in this chapter.
Section 14: Types of Concurrency
This chapter includes the benefits of multithreading in Java.
In this chapter we will see what is concurrency model, parallel workers of concurrency model, types of concurrency models, assembly line, Job ordering is possible and the different types of concurrency models.
(Duration:- 16h 19m)