Don't Miss Any Course JoinTelegramRedditFacebook
5 out of 5
1 review on Udemy

Introduction to Java Programming

Java is a programming language. Java is used to develop mobile apps, web apps, desktop apps, games and much more.
Rohini Ashok Bhadane
416 students enrolled
English [Auto]
Java Programming

Java is a popular programming language, created in 1995.

New customer offer! Top courses from $13.99 when you first visit Udemy

It is owned by Oracle, and more than 3 billion devices run Java.

Data types are divided into two groups:

  • Primitive data types – includes byte, short, int, long, float, double, boolean and char
  • Non-primitive data types – such as String, Arrays and Classes

Type casting is when you assign a value of one primitive data type to another type.

In Java, there are two types of casting:

  • Widening Casting (automatically) – converting a smaller type to a larger type size
    byte -> short -> char -> int -> long -> float -> double
  • Narrowing Casting (manually) – converting a larger type to a smaller size type
    double -> float -> long -> int -> char -> short -> byte

Operators are used to perform operations on variables and values.

Java has the following conditional statements:

  • Use if to specify a block of code to be executed, if a specified condition is true
  • Use else to specify a block of code to be executed, if the same condition is false
  • Use else if to specify a new condition to test, if the first condition is false
  • Use switch to specify many alternative blocks of code to be executed

Loops can execute a block of code as long as a specified condition is reached.

Loops are handy because they save time, reduce errors, and they make code more readable.


You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
5 out of 5
1 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1

Follow Us


1 hours on-demand video
Full lifetime access
Access on mobile and TV
30-Day Money-Back Guarantee