Java Practice Programs for Beginners
84 videos • 70 views • by CodeWithBK
A series of must know and how to solve programs for a beginner in Java program. Each video in detail explains the solution and derives the code for each of the problems.
1
Count number of digits in an integer in Java | Java programming for beginners
CodeWithBK
Download
2
Print each digit of a number on a separate line in Java | Java programming for beginners
CodeWithBK
Download
3
Java program to check if an integer is an Armstrong number or not
CodeWithBK
Download
4
Kaprekar number program in Java | String exercises in Java | Java programming for beginners
CodeWithBK
Download
5
Krishnamurthy Number program in Java | Java programming for beginners
CodeWithBK
Download
6
Fascinating number program in Java | Java programming for beginners
CodeWithBK
Download
7
Find and print date from the given day number of the year in Java | Java for beginners
CodeWithBK
Download
8
Print date in a given format using the provided day, month and year in Java
CodeWithBK
Download
9
Convert decimal integer to its binary value in Java | Java programming for beginners
CodeWithBK
Download
10
Add two binary numbers and print the result in Java | Java programming for beginners
CodeWithBK
Download
11
Java - binary to decimal | Convert binary String to equivalent base 10 integer value
CodeWithBK
Download
12
Java program to find the reverse of a String
CodeWithBK
Download
13
Java program to check if a string is a palindrome or not
CodeWithBK
Download
14
Java - reverse case of a String
CodeWithBK
Download
15
Java program to print duplicate characters in a String
CodeWithBK
Download
16
Java - count vowels in a String
CodeWithBK
Download
17
Java - count the number of consonants in a String
CodeWithBK
Download
18
Java program to count the number of words in a String sentence
CodeWithBK
Download
19
Java program to print unique characters in a String
CodeWithBK
Download
20
Java program to print the maximum occurring character (character with max frequency) in the string
CodeWithBK
Download
21
Java - remove extra whitespaces in a String
CodeWithBK
Download
22
Java program to extract ith bit from an int value
CodeWithBK
Download
23
Java - clear the ith bit in an int (change the value of ith bit to 0)
CodeWithBK
Download
24
Java - set ith bit of an int (change the ith bit of an integer to 1)
CodeWithBK
Download
25
Smallest and largest value of an array program in Java | Java for beginners
CodeWithBK
Download
26
Java program to resize an array to double its size when it is full
CodeWithBK
Download
27
Java - Delete an element from an array
CodeWithBK
Download
28
Java - delete all copies of an element from an array
CodeWithBK
Download
29
Java program to print duplicate elements in an array (duplicates in integer array)
CodeWithBK
Download
30
Java program to print first n rows of a Pascals triangle
CodeWithBK
Download
31
Java - nextInt() in Scanner class
CodeWithBK
Download
32
Java - read matrix input of Integers using Scanner
CodeWithBK
Download
33
Java program to read matrix input of integers using nextInt of Scanner
CodeWithBK
Download
34
Java - remove all occurrences of a char in a String
CodeWithBK
Download
35
Java program - Luhn algorithm - Validate a 16 digit credit card number
CodeWithBK
Download
36
Java program to validate a date given month day and year
CodeWithBK
Download
37
Java program to validate a password String
CodeWithBK
Download
38
Java program to get current date and time using java.util.Calendar
CodeWithBK
Download
39
Java program to find nth fibonacci number using loops (iteration)
CodeWithBK
Download
40
Java program to find the nth fibonacci number using recursion
CodeWithBK
Download
41
Java program to find the factorial of an integer using recursion
CodeWithBK
Download
42
Java program to reverse an array using loops (iteratively)
CodeWithBK
Download
43
Java program to reverse an array recursively
CodeWithBK
Download
44
Java program to extract tokens from a String given a delimiter
CodeWithBK
Download
45
Java program to calculate the value of natural log ln(x) using series
CodeWithBK
Download
46
Java program to display calendar for a given month in a given year
CodeWithBK
Download
47
Java program to print prime factorisation of an integer
CodeWithBK
Download
48
Java program to find the date n days after the given date
CodeWithBK
Download
49
Java - next() method in Scanner class
CodeWithBK
Download
50
Java program to find factorial of a number using loops (iteratively)
CodeWithBK
Download
51
Java program to convert a given temperature value from Celsius to Fahrenheit & vice versa
CodeWithBK
Download
52
Java program to print the first n numbers of fibonacci series
CodeWithBK
Download
53
Java program to print the frequency of characters in a String
CodeWithBK
Download
54
Java program to check prime number | Solution to CodeChef problem CHKPRM
CodeWithBK
Download
55
Java program to extract numbers from a String text
CodeWithBK
Download
56
Java program to read array input of integers from user using Scanner
CodeWithBK
Download
57
Java program to print the first n factorials given an integer n
CodeWithBK
Download
58
Java program to find the HCF (GCD) of two integers
CodeWithBK
Download
59
Java program to create a Complex Number class using OOP principles
CodeWithBK
Download
60
Java program to find the LCM of two integers | Eucledian method
CodeWithBK
Download
61
Java program to read array input of Strings using Scanner
CodeWithBK
Download
62
Java program to create a Fraction class using OOP principles
CodeWithBK
Download
63
Java program to print random integers to a file | Using class java.util.Random
CodeWithBK
Download
64
ISC 2023 Computer Science Theory Paper Question 11(i) Solution | Add Node to end of Linked List
CodeWithBK
Download
65
ISC 2023 Computer Science Specimen Paper Question 7 Solution | Create class OddEven
CodeWithBK
Download
66
Class X ICSE Computer Applications 2023 Boards Paper Question 7 Solved | Linear search in an array
CodeWithBK
Download
67
Class X ICSE Computer Applications 2023 Boards Paper Question 8 Solved
CodeWithBK
Download
68
Class X ICSE Computer Applications 2023 Specimen Paper Question 3 Solved | Create a class employee
CodeWithBK
Download
69
Class X ICSE Computer Applications 2023 Specimen Paper Question 4 Solved | Method overloading
CodeWithBK
Download
70
Class X ICSE Computer Applications 2023 Specimen Paper Question 5 Solved | Bubble Sort an array
CodeWithBK
Download
71
Class X ICSE Computer Applications 2023 Specimen Paper Question 6 Solved | Find min and max in array
CodeWithBK
Download
72
Class X ICSE Computer Applications 2023 Specimen Paper Question 7 | Count vowels & Reverse String
CodeWithBK
Download
73
Class X ICSE Computer Applications 2023 Specimen Paper Question 8 | Linear search in an array
CodeWithBK
Download
74
ISC 2024 Computer Science Specimen Paper Question 7 Solution | Create class Composite
CodeWithBK
Download
75
Java program to print the lucky numbers less than N | ISC Computer Science Practical 2024 Sample
CodeWithBK
Download
76
compareTo() in String in Java | String function in Java | Java coding for beginners
CodeWithBK
Download
77
Pass by value vs pass by reference in Java | Java coding for beginners
CodeWithBK
Download
78
Left rotate a linked list by k places in Java | Java coding for beginners
CodeWithBK
Download
79
Right rotate a linked list by k places in Java | Java coding for beginners
CodeWithBK
Download
80
Read array input of characters in Java | Arrays | Scanner | Part 1 of 2 | Java coding for beginners
CodeWithBK
Download
81
Read array input of characters in Java | Arrays | Scanner | Part 2 of 2 | Java coding for beginners
CodeWithBK
Download
82
Reverse a linked list in Java | Loops | Linked List | Java coding for beginners
CodeWithBK
Download
83
Multiply two matrices in Java | 2D Arrays | Java coding for beginners
CodeWithBK
Download
84
Convert decimal number to octal number in Java | Number Systems | Java coding for beginners
CodeWithBK
Download