Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
124 Java Programming Coding Practices for Absolute Beginners
Rating: 4.3 out of 5(190 ratings)
25,252 students

124 Java Programming Coding Practices for Absolute Beginners

Master Java faster and Improve your Java programming skill with 124 hands-on coding practices and real-world projects.
Last updated 3/2026
English

What you'll learn

  • Level up your Java programming skill with over 120 beginners best practices
  • How to find even and odd number in python
  • How to detect Positive and Negative Numbers
  • How to check for Even and odd Numbers
  • How to check for Greatest of 3 Numbers
  • How to check for divisibility of a Number
  • How to convert from Celsius to Fahrenheit
  • How to check for Leap year
  • How to check if a point belongs to Circle
  • How to create quadratic Equation
  • How to make guess of Random number
  • How to create a Multiplication Table using while loop
  • How to build a simple Calculator
  • How to get Sum and Product of digits
  • How to make a Binary search of number in an array
  • And lots more...

Course content

1 section125 lectures18h 2m total length
  • Practice 1. Hello World4:22
  • Practice 2. PrintWriter3:34
  • Ask Questions, Get Support & Achieve Your Dream!0:49
  • Practice 3. Basic Arithmetic Calculators5:45

    Create a basic Java arithmetic calculator by implementing addition, subtraction, multiplication, division, and modulus in a public static void main method and printing the results.

  • Practice 4. User Input7:03
  • Practice 5. Date and Time10:18
  • Practice 6. Swapping two different values12:46
  • Practice 7. Method Overloading9:49

    Learn method overloading in Java by building a project that reads two integers from the user, then uses overloaded methods to compute and display sum and product.

  • Practice 8. String Overloading7:33
  • Practice 9. Method Overriding9:51
  • Practice 10. Use of Final Keyword as a variable6:03

    Explore using the final keyword as a variable in Java, illustrated with final int regNumber and a sample employee example that prints the employee number.

  • Practice 11. Use of final Keyword as a method3:56

    Learn how to use the final keyword as a method in java by defining a final void display, extending a class, and calling it from main to show final method.

  • Practice 12. Use of finalized keyword8:33
  • Practice 13. Static Variable6:45
  • Practice 14. Program for Interface23:05
  • Practice 15. Super class14:00
  • Practice 16. How to use This keyword5:00
  • Practice 17. Print numbers in Matrix Format13:34
  • Practice 18. Matrix Addition23:19
  • Practice 19. Matrix Subtraction18:16
  • Practice 20. Matrix Multiplication18:24
  • Practice 21. Triangular Pattern (1)4:53
  • Practice 22. Triangular Pattern (2)3:46
  • Practice 23. Triangular Pattern (3)3:13
  • Practice Triangular Pattern (4)2:49
  • Practice 25. Paschal Triangle12:14
  • Practice 26. Floyds Triangle6:24
  • Practice 27. Multiplication Table6:47
  • Practice 28. Area of a Triangle6:05
  • Practice 29. How to detect largest Number input from a user8:06

    Create a Java program that reads three integers from the user with a Scanner and uses if statements to determine and print which number is largest.

  • Practice 30. Use of maths operators for Calculator14:39
  • Practice 31. A program for calculating Factorial8:35
  • Practice 32. A program to determine Student's grade9:22
  • Practice 33. Detect Negative and Positive Numbers from a user4:18

    Detect negative or positive numbers from a user in Java by prompting for input and using an if-else statement to print the result.

  • Practice 34. Detect Even and Odd Numbers4:09
  • Practice 35. A program for Fibonacci Sequence6:17
  • Practice 36. A program to check palindrome number10:45
  • Practice 37. Program to check Vowels and Consonants9:27
  • Practice 38. Print out Arrays4:03

    Print arrays in Java by looping from zero to x.length and printing x[y] with a space using System.out.print.

  • Practice 39. Print out Array from user6:09
  • Practice 40. Print out Arrays in ascending order10:18
  • Practice 41. Print out String Arrays7:01
  • Practice 42. Sorting an Array5:12

    Learn how to sort a Java array, implement the main method, populate and print the array, and format the output with a for loop to display the sorted results.

  • Practice 43. Program to search an element in an Array3:10
  • Practice 44. Insert Element in an Array17:25
  • Practice 45. Program to Reverse an Array4:03
  • Practice 46. Minimum and Maximum Element in Array6:43
  • Practice 47. A program to merge two Arrays4:47
  • Practice 48. A program to sort a Merged Array24:54
  • Practice 49. Abstract Class6:42
  • Practice 50. A program for Abstract class and Abstract Method13:03
  • Practice 51. Array to String3:43
  • Practice 52. A Program to calculate Array's average5:34
  • Practice 53. For Loop5:07
  • Practice 54. Infinite Loop1:56
  • Practice 55. Generate Random Numbers5:23
  • Practice 56. Reverse a Number6:46
  • Practice 57. Convert from Fahrenheit to Centigrade6:42
  • Practice 58. Convert Centigrade to Fahrenheit6:54
  • Practice 59. Reverse a Number using For loop6:06
  • Practice 60. Program to print out Prime Numbers8:24
  • Practice 61. A program to swap two different Numbers6:04

    Practice swapping two numbers in a Java program by using a swap values function with a temporary variable, printing values before and after swapping.

  • Practice 62. A program to swap two different numbers (2)3:10

    This lecture presents a Java method to swap numbers using arithmetic: x = x + y; y = x - y; x = x - y, with x=200 and y=500.

  • Practice 63. Print out current Date and Time5:28
  • Practice 64. Program to detect a leap year7:25

    Build a Java program that reads a year from the user and determines leap year status using divisibility by 4, 100, and 400, then prints the result.

  • Practice A program to detect Prime numbers only6:04
  • Practice 66. A program to check a perfect square7:00

    Build a Java program that reads a number with a scanner, computes its square root, and reports whether the number is a perfect square.

  • Practice 67. Program to convert from Decimal to Binary11:48
  • Practice 68. Sum of Digits from User6:51
  • Practice 69. A program to find two top maximum numbers in an Array8:04
  • Practice 70. A program to convert from String to Character5:06
  • Practice 71. A program to convert from String to other Data Types8:37
  • Practice 72. A program to check Armstrong Numbers8:40
  • Practice 73. A program to calculate Arithmetic Mean7:16
  • Project 74. Program to calculate HCF and LCM7:08
  • Practice 75. Program to convert from Decimal to Octal7:40
  • Practice 76. A program to convert from Binary to Decimal7:45

    Learn to build a Java program that converts a binary input to a decimal value using a Scanner, a while loop, and a user prompt.

  • Practice 77. Program to convert from Decimal to HexaDecimal8:58
  • Practice 78. Program to create current locale5:58

    Learn to create the current locale in Java and print its country and language using methods like display country, display language, get country, get language, and system properties.

  • Practice 79. A program for Array List9:22
  • Practice 80. Iterate through HashMap11:40
  • Practice 81. A program to sort HashMap16:57
  • Practice 82. Sort HashMap by Values26:40
  • Practice 83. Program to find longest sub string11:55
  • Practice 84. A program to get Employee's data14:40
  • Practice 85. A program to sort Object using comparable interface19:37
  • Practice 86. A program to sort Object using Comparator Interface20:06
  • Practice 87. A program to detect first non-repeated character12:37
  • Practice 88. A program to generate permutation of a string22:20
  • Practice 89. A program to get the result of the longest Palindrome18:43

    Build a Java program to find the longest palindromic substring by iterating through the string, expanding around centers, and returning the maximum palindrome.

  • Practice 90. A program to sort Array in Descending order8:16
  • Practice 91. A program to remove duplicate element in a list9:08

    Learn to remove duplicate elements from a list in Java by converting to a linked hash set to preserve order, and compare the list before and after.

  • Practice 92. A program to run a Thread5:21
  • Practice 93. A program to create a Thread using runnable interface6:20
  • Practice 94. A program to join two Threads11:33
  • Practice 95. Program to remove Multiple spaces in a String5:27
  • Practice 96. A program to find the union of two Arrays18:35
  • Practice 97. A program to find intersection of two Arrays14:22
  • Practice 98. A program to detect if a number is of power of 24:34
  • Practice 99. A program for Exception Handling6:48
  • Practice 100. A program for Multiple catch Blocks in Exception Handling10:48
  • Practice 101. A program to implement Exception Handling using Finally Block5:49
  • Practice 102. A program to implement Try-Catch-Finally Blocks5:27

    Learn to implement try-catch-finally blocks in Java by handling arithmetic exceptions such as divide by zero, demonstrating exception handling and finally execution with practical code.

  • Practice 103. A program to implement Throw in java6:04
  • Practice 104. A program for User Define Exception8:43
  • Practice 105. A program for Constructor Inheritance6:34
  • Project 106. A program for super class in Inheritance10:26
  • Practice 107. A program to clone Objects7:20
  • Practice 108. A program to get sub-list from an Array with clone9:23
  • Practice 109. A program to sync Array list using Collections.synchochroniseList5:45
  • Practice 110. A program to get the last occurrence of an object in an Array list7:01

    learn to create a Java program that builds an array list of strings, adds multiple values, and uses lastIndexOf to find each element's last occurrence, printing results and size.

  • Practice 111. A program to demonstrate Single Inheritance6:01

    Create an area class with width and height; extend it with a get rectangle class to calculate the area as width times height and print the result.

  • Practice 112. A program to demonstrate Multilevel Inheritance9:22

    Demonstrates multi-level inheritance in Java by building classes A, B, and C with proper extends relationships and printing the inheritance chain using show methods.

  • Practice 113. A program to demonstrate Hierarchical Inheritance7:45
  • Practice 114. A project to print different String functions10:46
  • Practice 115. A program to count Number of words in a String variable14:53
  • Practice 116. A program to find Armstrong using Multithreading5:50
  • Practice 117. A program to find Prime Numbers using Multithreading10:25
  • Practice 119. A program to print out Alphabet using Alternate5:02

    Develop a Java program that prints every other letter from a to z, starting at 'a' (ascii 97) and advancing by two, with a brief delay between outputs.

  • Project 120. A program to print out Numbers6:12
  • Practice 121. A program to check for Even Numbers4:06

    Create Java program to check even numbers with a multi-threaded approach, featuring a class, a run method, a loop from 1 to 10, and print whether each number is even.

  • Practice 122. A program to check for Odd Numbers3:24
  • Practice 123. A program to get square of Numbers with Multithreading3:32
  • Practice 124. A program to get Cube of numbers using Multithreading3:06
  • Congratulations! Never Stop Learning...0:15

Requirements

  • This courses requires basics of Java programming knowledge
  • A computer (Windows/Mac/Linux)

Description

Welcome to Practical Java programming practices (120+ common projects)! Learning Java programming language and understanding Java programming language are two different things. Almost every student enjoy learning Java programming language. But, only a few number of these students actually understand Java programming language afterwards. This is where the remaining students are left behind and kept wandering from one course to another over the internet to get the best knowledge on understanding Java programming language with cups of coffee on their table everyday.

Unlock your potential in Java programming with this comprehensive course designed for beginners. Through 124 practical projects, you’ll gain the skills and confidence needed to tackle real-world coding challenges and advance your career in software development.

What You’ll Learn:

  1. Getting Started with Java:

    • Write your first “Hello World” program.

    • Utilize the PrintWriter for efficient output.

    • Perform basic arithmetic calculations.

  2. User Input and Data Handling:

    • Accept and process user input.

    • Work with date and time functionalities.

    • Swap values between variables.

  3. Advanced Method Techniques:

    • Implement method overloading and overriding.

    • Understand string overloading.

    • Explore the use of final and static keywords.

  4. Matrix and Pattern Operations:

    • Print numbers in matrix format.

    • Perform matrix addition, subtraction, and multiplication.

    • Create triangular patterns, Pascal’s Triangle, and Floyd’s Triangle.

  5. Arithmetic and Logical Operations:

    • Develop a basic arithmetic calculator.

    • Detect the largest number from user inputs.

    • Use math operators for various calculations.

    • Calculate factorials and Fibonacci sequences.

  6. String and Array Manipulations:

    • Reverse numbers and arrays.

    • Print, sort, and search arrays.

    • Convert arrays to strings and vice versa.

  7. Object-Oriented Programming:

    • Utilize abstract classes and methods.

    • Implement interfaces and inheritance (single, multilevel, and hierarchical).

    • Work with static variables, super classes, and the this keyword.

  8. Exception Handling and Multithreading:

    • Master exception handling with try-catch-finally blocks.

    • Handle user-defined exceptions.

    • Explore multithreading to perform concurrent programming tasks.

  9. Data Conversion and Calculations:

    • Convert between different data types (e.g., decimal to binary, string to character).

    • Calculate HCF, LCM, arithmetic mean, and sum of digits.

    • Generate random numbers and perform various number conversions.

  10. Working with Collections:

    • Iterate and sort hash maps.

    • Work with array lists and synchronize them.

    • Find the union and intersection of arrays.

  11. Practical Real-World Projects:

    • Create a basic arithmetic calculator.

    • Develop programs to check for prime numbers, Armstrong numbers, and perfect squares.

    • Implement various sorting algorithms (bubble sort, selection sort).

    • Handle date and time functionalities, including detecting leap years.

    • Build multithreading programs to perform tasks concurrently.

Are you ready to master Java programming through practical, real-world projects? This comprehensive course is designed to help beginners build a solid foundation in Java by working through 124 diverse and engaging programming exercises.

Course Highlights:

  • Fundamental Concepts: Start with the basics like writing “Hello World” and using the printwriter to get comfortable with Java syntax.

  • User Input & Output: Learn how to accept user input and manipulate data with basic arithmetic calculators, date and time operations, and swapping values.

  • Advanced Techniques: Dive into method overloading and overriding, use of the final keyword, static variables, and more to understand advanced Java concepts.

  • Matrix Operations: Master matrix addition, subtraction, and multiplication, and learn to print numbers in matrix format.

  • Patterns & Shapes: Create various patterns such as triangular, Pascal’s, Floyd’s triangles, and more to enhance your logical thinking and problem-solving skills.

  • Mathematical Programs: Implement programs to detect the largest number, calculate factorials, detect even and odd numbers, and generate Fibonacci sequences.

  • Array Manipulations: Learn to print, sort, search, merge, and reverse arrays, and perform various array operations to handle data efficiently.

  • Object-Oriented Programming: Understand abstract classes, interfaces, inheritance, and more to build robust and scalable Java applications.

  • Data Type Conversions: Convert between different data types, including string to character, decimal to binary, and more.

  • Exception Handling: Master exception handling with try-catch-finally blocks, user-defined exceptions, and multiple catch blocks.

  • Multithreading: Explore multithreading concepts to perform concurrent programming, including creating threads, joining threads, and using runnable interfaces.

  • Collections Framework: Work with array lists, hash maps, and understand sorting, synchronizing, and finding elements within collections.

  • String Manipulations: Perform various string operations, including finding substrings, counting words, and handling duplicate elements.

  • Inheritance & Polymorphism: Implement single, multilevel, and hierarchical inheritance, and understand constructor inheritance and superclasses.

Course Objective Summary:

  • How to Write Hello World

  • How to Use the Printwriter

  • Basic Arithmetic Calculators

  • How to Accept User Input

  • Date and Time Operations

  • Swapping Two Different Values

  • Method Overloading and Overriding

  • Use of Final Keyword and Static Variables

  • Matrix Operations

  • Creating Various Patterns

  • Mathematical and Logical Programs

  • Array Manipulations and Sorting

  • Object-Oriented Programming Concepts

  • Exception Handling Techniques

  • Multithreading for Concurrent Programming

  • Working with Collections Framework

  • Advanced String Operations

  • Inheritance and Polymorphism

Why Enroll?

This course offers a hands-on approach to learning Java, ensuring you not only understand theoretical concepts but also gain practical experience. By the end of this course, you’ll be equipped with the skills to tackle complex Java programming challenges, making you a proficient and confident Java developer.

Who Should Enroll?

  • Beginners in Java Programming

  • Students and Aspiring Developers

  • Anyone looking to improve their Java coding skills

  • Those preparing for technical interviews and coding challenges

Course Benefits:

  • Hands-On Learning: Engage in 124 practical projects that reinforce your understanding of Java concepts.

  • Real-World Applications: Work on projects that simulate real-world programming scenarios.

  • Comprehensive Curriculum: Cover a wide range of topics from basic syntax to advanced programming techniques.

  • Skill Development: Enhance your problem-solving and logical thinking abilities.

  • Career Advancement: Gain the confidence to take on more challenging programming tasks and advance your career.

Join us and transform your Java programming skills with 124 practical projects that will set you on the path to becoming a proficient Java developer!

120+ Java programming best practices for absolute beginner is a comprehensive and concise guide with over 8 hours of content that is designed to pick up every interested student from the state of “zero-knowledge” to a state of “Hero-knowledge” in Java programming with lots of practical Java projects.

Why Must I Take This Course?

Emenwa Global instructors are industry experts with years of practical, real-world experience building software at industry leading companies. They are sharing everything they know to teach thousands of students around the world, just like you, the most in-demand technical and non-technical skills (which are commonly overlooked) in the most efficient way so that you can take control of your life and unlock endless exciting new career opportunities in the world of technology, no matter your background or experience.

Who this course is for:

  • Anyone who wants to learn to code
  • Anyone looking to level up their skills and master a new programming language
  • Anyone who wants to master Java programming