A Complete Java Tutorial Course for Beginners
4.2 (94 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,300 students enrolled
Wishlisted Wishlist

Please confirm that you want to add A Complete Java Tutorial Course for Beginners to your Wishlist.

Add to Wishlist

A Complete Java Tutorial Course for Beginners

This is one of the best tutorial on java, that we have created. Suitable for beginners, in depth knowledge is given
4.2 (94 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,300 students enrolled
Last updated 11/2016
English
Learn Fest Sale
Current price: $10 Original price: $155 Discount: 94% off
17 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 9.5 hours on-demand video
  • 7 Articles
  • 45 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Understand, How to program in Java programming language
  • Java Programming fundamentals
  • Object oriented programming
  • Code console application using Java
View Curriculum
Requirements
  • C programming (Recommended)
Description

This course is specially made for beginners, No prior programming knowledge required.

Get our private course "Test and improve your Java skills" FREE with this course.

100% FREE coupon available inside the course!

---------------------------------------------------------------

This course is loaded with

1. Almost all the concepts under core Java

2. Multi-threading basics

3. Introduction to Collections Framework

4. Introduction to Java Generics

5. Introduction to Lambda Expression

---------------------------------------------------------------

Why you should take this course?

1. It's one of the best course for beginners in Java

2. This course is loaded with almost all required information about core Java

3. It's a one stop destination for beginners in Java

4. Our team has created the curriculum in such a way that learning Java was never so easy before!

5. Every video is researched and developed!

6. We have kept the lectures short and simple

7. We have used special video editing techniques e.g. ZOOM & PAN, cursor effects to make lectures easy on eyes

8. This is a well organised course


------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------


1) Java is Easy to learn

2) Java is an Object Oriented Programming Language

3) Java has Rich API

4) Powerful development tools e.g. Eclipse , Netbeans

5) Great collection of Open Source libraries

6) Wonderful community support

7) Java is FREE

8) Excellent documentation support - Javadocs

9) Java is Platform Independent

10) Java is Everywhere

Who is the target audience?
  • The Students who want to make careers in IT, This is for you!
  • Everyone who want to make careers as a Java programmer
  • Everyone who is interested in programming
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 122 Lectures Collapse All 122 Lectures 10:47:11
+
Getting Started
7 Lectures 12:04

Thanks enrolling into the course, In order to start programing in Java we only need JDK (Java development kit). The videos demonstrate how to download and setup system for Java.

Preview 02:19

Eclipse IDE is most widely used IDE in industry. In this video, Author has explained hoe to download and setup Eclipse IDE for Java programmers.

Downloading and setting up Eclipse
03:03

Its demonstration videos to show how to code “Hello world” program in Java using Eclipse IDE.

Hello world
03:15

Java has 50 keywords; we have checked and discussed these keywords in this video.

Java keywords
01:06

List of Java keywords and short explanation
7 pages

Naming Conventions

  1.  Class names should be capitalized

    2.    Interface names should be capitalized like class names. 

    3.    Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.

    4.    Variables: Lowercase first letter. Internal words start with capital letters. 

    5.    Package name should be in lowercase letter 

    6.    Constants name should be in uppercase letter. 

Naming conventions in Java
02:21

+
Background
14 Lectures 36:47
Claim your free course
00:10

Variables are constants are basic building block of any programming language, In this video we are going to check the same with respect with Java.

What are variables and constants
02:07

How Java decides, how much memory to occupy for a data. Data type is the answer. Data type is basic building block of any programming language. 

Primitive Data Types

  • byte: The byte data type is an 8-bit signed two's complement integer. It has a minimum value of -128 and a maximum value of 127 (inclusive). The byte data type can be useful for saving memory in large arrays, where the memory savings actually matters. They can also be used in place of int where their limits help to clarify your code; the fact that a variable's range is limited can serve as a form of documentation.

  • short: The short data type is a 16-bit signed two's complement integer. It has a minimum value of -32,768 and a maximum value of 32,767 (inclusive). As with byte, the same guidelines apply: you can use a short to save memory in large arrays, in situations where the memory savings actually matters.

  • int: By default, the int data type is a 32-bit signed two's complement integer, which has a minimum value of -231 and a maximum value of 231-1. In Java SE 8 and later, you can use the int data type to represent an unsigned 32-bit integer, which has a minimum value of 0 and a maximum value of 232-1. Use the Integer class to use int data type as an unsigned integer. See the section The Number Classes for more information. Static methods like compareUnsigneddivideUnsigned etc have been added to the Integer class to support the arithmetic operations for unsigned integers.

  • long: The long data type is a 64-bit two's complement integer. The signed long has a minimum value of -263 and a maximum value of 263-1. In Java SE 8 and later, you can use the long data type to represent an unsigned 64-bit long, which has a minimum value of 0 and a maximum value of 264-1. Use this data type when you need a range of values wider than those provided by int. The Long class also contains methods like compareUnsigneddivideUnsigned etc to support arithmetic operations for unsigned long.

  • float: The float data type is a single-precision 32-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in the Floating-Point Types, Formats, and Values section of the Java Language Specification. As with the recommendations forbyte and short, use a float (instead of double) if you need to save memory in large arrays of floating point numbers. This data type should never be used for precise values, such as currency. For that, you will need to use the java.math.BigDecimal class instead. Numbers and Strings covers BigDecimal and other useful classes provided by the Java platform.

  • double: The double data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in the Floating-Point Types, Formats, and Values section of the Java Language Specification. For decimal values, this data type is generally the default choice. As mentioned above, this data type should never be used for precise values, such as currency.

  • boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false conditions. This data type represents one bit of information, but its "size" isn't something that's precisely defined.

  • char: The char data type is a single 16-bit Unicode character. It has a minimum value of '\u0000' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive).


Non-primitive—which include Classes, Interfaces, and Arrays.


Primitive Data Types
03:59

Primitive Data Types document
1 page

Here is a demonstration video on , How we make using of variable under Java.

Making Use of variables
06:46

In this video we have discussed on Java laterals. Here is a documentation provided by oracle.

Literals

You may have noticed that the new keyword isn't used when initializing a variable of a primitive type. Primitive types are special data types built into the language; they are not objects created from a class. A literal is the source code representation of a fixed value; literals are represented directly in your code without requiring computation. As shown below, it's possible to assign a literal to a variable of a primitive type:

boolean result = true;
char capitalC = 'C';
byte b = 100;
short s = 10000;
int i = 100000;

Integer Literals

An integer literal is of type long if it ends with the letter L or l; otherwise it is of type int. It is recommended that you use the upper case letter L because the lower case letter l is hard to distinguish from the digit 1.

Values of the integral types byteshortint, and long can be created from int literals. Values of type long that exceed the range of int can be created from long literals. Integer literals can be expressed by these number systems:

  • Decimal: Base 10, whose digits consists of the numbers 0 through 9; this is the number system you use every day
  • Hexadecimal: Base 16, whose digits consist of the numbers 0 through 9 and the letters A through F
  • Binary: Base 2, whose digits consists of the numbers 0 and 1 (you can create binary literals in Java SE 7 and later)

For general-purpose programming, the decimal system is likely to be the only number system you'll ever use. However, if you need to use another number system, the following example shows the correct syntax. The prefix 0x indicates hexadecimal and 0b indicates binary:

// The number 26, in decimal
int decVal = 26;
//  The number 26, in hexadecimal
int hexVal = 0x1a;
// The number 26, in binary
int binVal = 0b11010;

Floating-Point Literals

A floating-point literal is of type float if it ends with the letter F or f; otherwise its type is double and it can optionally end with the letter D or d.

The floating point types (float and double) can also be expressed using E or e (for scientific notation), F or f (32-bit float literal) and D or d (64-bit double literal; this is the default and by convention is omitted).

double d1 = 123.4;
// same value as d1, but in scientific notation
double d2 = 1.234e2;
float f1  = 123.4f;

Character and String Literals

Literals of types char and String may contain any Unicode (UTF-16) characters. If your editor and file system allow it, you can use such characters directly in your code. If not, you can use a "Unicode escape" such as '\u0108' (capital C with circumflex), or "S\u00ED Se\u00F1or"(Sí Señor in Spanish). Always use 'single quotes' for char literals and "double quotes" for String literals. Unicode escape sequences may be used elsewhere in a program (such as in field names, for example), not just in char or String literals.

The Java programming language also supports a few special escape sequences for char and String literals: \b (backspace), \t (tab), \n (line feed), \f (form feed), \r (carriage return), \" (double quote), \' (single quote), and \\ (backslash).

There's also a special null literal that can be used as a value for any reference type. null may be assigned to any variable, except variables of primitive types. There's little you can do with a null value beyond testing for its presence. Therefore, null is often used in programs as a marker to indicate that some object is unavailable.

Finally, there's also a special kind of literal called a class literal, formed by taking a type name and appending ".class"; for example, String.class. This refers to the object (of type Class) that represents the type itself.

Using Underscore Characters in Numeric Literals

In Java SE 7 and later, any number of underscore characters (_) can appear anywhere between digits in a numerical literal. This feature enables you, for example. to separate groups of digits in numeric literals, which can improve the readability of your code.

For instance, if your code contains numbers with many digits, you can use an underscore character to separate digits in groups of three, similar to how you would use a punctuation mark like a comma, or a space, as a separator.

The following example shows other ways you can use the underscore in numeric literals:

long creditCardNumber = 1234_5678_9012_3456L;
long socialSecurityNumber = 999_99_9999L;
float pi =  3.14_15F;
long hexBytes = 0xFF_EC_DE_5E;
long hexWords = 0xCAFE_BABE;
long maxLong = 0x7fff_ffff_ffff_ffffL;
byte nybbles = 0b0010_0101;
long bytes = 0b11010010_01101001_10010100_10010010;

You can place underscores only between digits; you cannot place underscores in the following places:

  • At the beginning or end of a number
  • Adjacent to a decimal point in a floating point literal
  • Prior to an F or L suffix
  • In positions where a string of digits is expected


Java Literals
05:22


Demonstration video where the author has shown literals in action.

 

Making use of Java literals
06:50

Type casting is a basic but very important operation. Here is what author needs to say about what type casting actually is.

Primitive Type Casting
03:31


As we know what is typecasting, let's check the type casting using primitive data type in action.

Making use of Type Casting
03:33

When it's come to user input in Java, it's little different when we compare programming language like C, C++, Php. Let's check how to take user input in Java.

User input
04:25


Project files - Background section
1 page
+
Decision Making Under Java
16 Lectures 37:55

An operator is a symbol that tells the compiler to perform specific mathematical or logical
operations.
Types of operators
1. Relational Operators
2. Misc. Operators
3. Logical Operators
4. Arithmetic Operators
5. Bitwise Operators
6. Assignment Operators
7. instanceof Operator

Little more about Operators
03:29

Demonstration video for usage of Increment/Decrement operator as postfix and prefix. Concept is simple and good to know. Let's check! 

Increment (++) and Decrement (--) operator as prefix and postfix
03:18

Decision Making Under Java Document
1 page

Decision making is about deciding the order of execution of code in program depending upon the
condition. In java programming decision making is done by following mechanism.
1. if statement
2. Switch statement
3. Conditional Operator

Let check the IF condition first!

Decision Making using IF condition Part 1
02:53

Decision Making using IF condition Part 2
05:28


Decision Making using IF condition Part 3 (Document)
1 page

Decision Making using IF condition Part 4
04:13

Switch Case Part 1
03:24


Switch Case Part 2
03:30


Ternary operator
03:20


Project files - Decision Making Under Java
1 page

Give us a minute
1 question
+
Loops
10 Lectures 25:43

While loop
04:56


For loops
03:45


Understanding Break and continue
03:48

Understanding Break and continue (Document)
2 pages

Do While loop
04:24

Nested loops - How it's work
08:50

Project files - Loops
1 page

Give us a minute
1 question
+
Arrays
5 Lectures 20:28
Arrays Introduction
06:45

Array with loops
04:09

Multi-dimensional array
05:54

Traverse multi-dimensional array
03:40

Project files - Arrays
1 page

Give us a minute
1 question
+
Object oriented programming Basics
18 Lectures 02:02:49
Introduction to Classes and objects
08:45


Methods
06:49

Methods part 2
07:32

Getters and Setters
04:20


Constructors
09:29

Usage of Static and final
11:15

Packages
10:20

Methods - Passing arrays as parameter of methods
06:42

Methods - Call by value and call by reference
08:30

String builder class
05:21

String formatting
11:58

String formatting (Document)
2 pages

The .equals methods
09:20

Encapsulation
07:14

The toString method
08:16

Project files - Objected oriented programming Basics
1 page

Give us a minute
1 question
+
Object oriented programming Advance
22 Lectures 02:41:28
Inheritance Part 1
10:32

Inheritance Part 2 - Overriding and super keyword
11:12

Inheritance Part 3 - Overriding and super keyword
06:51

Access modifiers Part 1
08:49

Access modifiers Part 2
03:14

Access modifiers (Document)
1 page

Interfaces
06:58

Mutiple Inheritace using interfaces
05:48

Upcasting and conclusion of polymorphism
05:16

Member inner class
08:45

Static and local inner class
09:36

Anonymous inner class
06:04

Abstract class
10:01

Enum
06:09

Java api Docs
11:29

Exception handling
07:19

Checked and unchecked exception
05:33


Understanding throws and throw keyword
08:46

Working with muiltiple exception
14:36

User Defined Exception
14:30

Project files - Objected oriented programming Advance
1 page

Give us a minute
1 question
+
Working with files
7 Lectures 01:16:13
Reading files with scanner class
18:59

Reading files with BufferedReader
11:00

Try with resources
07:22

Reading a file with try with resources
08:12

Writing into files
07:08

Serialization of Objects
23:32

Project files - Working with files
1 page

Give us a minute
1 question
+
Introduction to couple of improtant components in Java
8 Lectures 44:19
Let's discuss Java technology
19:59

Let's discuss Java technology (Document)
10 pages

Understanding, what is Java gernerics
07:11

Understanding, what is Java generics (Document)
3 pages

Understanding, what is collections framework
04:48

Understanding, what is collections framework (Document)
4 pages

Introduction to Lambda expressions
12:21

Project files - Introduction to couple of improtant components in Java
1 page
+
Discounts,Offers and more :)
3 Lectures 01:01
Offers - Get a paid course for FREE and super discounts on others
01:00

Offers details
00:01

Follow us
1 page
2 More Sections
About the Instructor
StudyEasy Organisation
4.2 Average rating
1,659 Reviews
29,880 Students
10 Courses
Fantastic content maker and fabulous presenters

We are a team of dedicated people who perform intense research, pragmatic planning and come up with easily understandable and quality courses for student around the world. We follow an ongoing process of quality analysis by meticulously considering and improving our work by taking the feedback from the users.

We are fantastic content maker and fabulous presenters.

we are StudyEasy Organisation!

Chaand Sheikh
4.2 Average rating
1,865 Reviews
34,777 Students
12 Courses
Instructor for 33,000+ students

Chaand is a knowledgeable person and has keen interest in helping students worldwide. Chaand is Director of StudyEasy Organization and Chaand and his team is dedicated to build high quality content of technology based topics.