
Learn how to swap the values of two variables in Java using a temporary variable, with a = 10 and b = 20, through a simple swap process.
Learn how to swap the values of two variables in Java without using a third variable, using addition and subtraction, and explore alternative methods with multiplication and division.
Learn to write a Java program that finds the maximum of two numbers using a conditional statement, taking two integers as input and printing the largest number.
Learn to write a Java program that checks whether a given number is odd or even by analyzing input, output, and logic, using the modulo operator and if-else.
Learn to write a Java program that checks if a given number is divisible by five using the modulo operator and an if statement, printing divisible or not divisible.
Learn to determine whether a given integer is positive, negative, or zero in Java using nested if statements or else-if.
Write a Java program to print the number of days in a given month using if-else chains and a switch statement, based on a user-entered month 1-12 and handling invalid months.
Explore a Java program that prints the days in a month using a switch statement. It accepts 1–12, outputs 31, 30, or 28/29 days, and handles invalid inputs.
Build a Java calculator program using a switch statement to perform addition, subtraction, multiplication, and division with two input numbers.
Learn to write a Java program that finds the maximum of three numbers using if statements and logical and, with examples like 40, 20 and 150, 99.
Identify a given character as vowel or not using a simple if statement; input a character, compare against a, e, i, o, u, and print vowel or not.
Explore printing numbers from 1 to 10 in java by using loops, comparing while and for loops, with initialization, condition checks, and increments to produce console output.
Learn to write a Java program that prints even numbers from 1 to 10 by using a modulo check and a for loop that increments by two.
Learn to print numbers from 1 to 50 divisible by 5 or 3 in Java using a for loop and a combined if condition.
Learn to print numbers from ten to one in Java by decrementing a counter with i-- and a while i >= 1 condition, illustrating loop control and termination.
Explain a Java program that prints the zigzag sequence 1, 10, 2, 9, 3, 8, 4, 7, 5, 6 by using two variables: an incrementing index and a decrementing value.
Learn how to write a Java program that sums numbers from one to ten by accumulating each next number into a running total starting at zero, and print the result.
Learn to write a Java program that sums even numbers from 1 to 10. Use a for loop with modulo and a sum variable, then print the result.
A Java program sums numbers from 1 to 10, subtracting numbers divisible by three, and prints the final result, which is 19.
Takes a number as input and finds its factorial by multiplying from 1 to n in an iterative approach, using a temporary result initialized to 1, then prints the value.
Learn how to write a Java program that computes the sum of fractions 1/2 to 5/6, handle integer vs double division, and use proper parentheses to get decimal results.
Develop a Java program that computes the sum of squares from 1 to 5 by looping from 1 to 5, squaring each number, and accumulating the total starting from zero. Then print the result, which is 55.
Develop a Java program that separates digits of a number using modulo 10 to obtain the last digit and divide by 10 to remove it, printing digits on separate lines.
Learn to count digits in a given number by repeatedly dividing by ten and incrementing a counter until the number becomes zero.
Write a Java program that sums the digits of a given number using modulo ten and division by ten, taking input with a scanner and printing the result.
Learn to write a Java program that checks if a number is an Armstrong number by summing the cubes of its digits and comparing to the original input, using Scanner.
Read a number from the user with a Java scanner, extract digits, and build its reverse by multiplying the accumulated result by 10 and adding each digit, starting from zero.
Learn to write a Java program that checks if a given number is a palindrome by reversing it and comparing to the original, using scanner input and an if statement.
Write a Java program to find divisors of a given number by iterating from 1 to n and printing numbers that divide evenly, with examples for 6 and 8.
Learn how to determine if a user-entered number is perfect by summing its proper divisors and comparing to the number, using Java Scanner and an if statement.
Write a Java program to input a number, count its divisors from 1 to n, and print whether the number is prime or not based on the divisor count.
Learn to print a square pattern of numbers by printing one to five across five lines, using nested for loops and line breaks with System.out.print and System.out.println.
Learn to write a Java program that prints a 5x5 square pattern using nested for loops, printing the row index five times per row with a newline after each row.
Analyze how to print a right-side triangle pattern in Java by dynamically printing spaces and numbers per row, revealing the i-to-space relationship and loop logic.
Explain how to write a Java program that prints a left side numeric triangle using for loops. The outer loop controls rows, the inner loop prints increasing numbers per row.
Demonstrate a Java program to print a full triangle pattern using nested loops, with spaces as five minus i and stars as two times i minus one across five lines.
Master reversing a full triangle pattern in Java by printing lines with decreasing stars and increasing spaces using nested loops.
Learn how to print a diamond pattern in Java by combining upper and lower triangle logic, mastering spaces, stars, and nested loops to generate the full diamond efficiently.
Write a java program to find the greatest number from a given set, using an array and a for loop, tracking the max and printing the result.
You cannot judge yourself by the number of programs you solved. You can judge based on your confidence to solve any program.
It requires two important understandings.
1) Technical understanding - knowing the syntax & working of java statements like operators, if condition, looping statements, arrays, etc. Specially why we need each of these in Java?
2) Analytical skill - Ability to understand & analyze the program definition and able to solve the same using java. This has to be developed by solving different exercises in java so you'll get the idea in which case we need to use which java concepts and how we need to start. It's pure art and you need the practice to learn that art.
This course has a standard set of exercises where anyone can learn how to solve the program from scratch & it covers most of the important programming concepts which I mentioned above. Basically, it'll help you to develop analytical skills by solving different exercises starting from basics to advance. After solving this program you'll get confidence in writing any program by yourself.
The last thing, you need to write down these programs by yourself then and then you'll get confidence otherwise by just watching the videos you'll never get enough confidence in programming because as I mention it's an art and you can learn art only by performing it your self.