-
Decision Making
Decision Making Statements Decision-making statements are one of the control flow statements which decide which statement to execute and when. It evaluate the boolean condition and control the execution of the block still the boolean condition provided is true.There are two types of decision-making statements in Java 1) if statement2) switch statement 1) if Statement:…
-
Loops
Loops in JavaLoop in programming concept is block of code which provides a set of instruction that keeps executing until a specific condition is met and becomes true/false to stop its execution,whether execution needs to be stopped on true or false depends on the condition that is implemented to stop its execution. In Java there…
-
Sort String
Sort String Programmatically in Java Program 1 : Java Program to sort a string without using inbuilt sort() method Program 2 : Java Program to sort a string without using sort() method Program 3 : Java Program to sort a string without using Arrays.sort(T [ ], Comparator c) method
-
Palindrome
Palindrome String A string is said to be palindrome if it is the same from both the ends. For example : malayalam,rotor,civic,etc Program 1 : Check Whether String is Palindrome (Using Reverse String) Program 2 : Check Whether String is Palindrome (Using Two Pointer) Program 3 : Check Whether String is Palindrome (Using Recursion) Program…
-
Anagram String
Anagram String What is Anagram String ? Two strings are said to be anagram if they contain the same characters even though order of characters may be different. For example read and dare,eat and tea,fear and fare and so on Program 1 : Java Program To Check Whether Two Strings Are Two Strings Are Anagram…
-
Reverse String
Reversing A String Programmatically Program 1 : Program to Reverse a String (Method – 1 Using for loop) Program 2 : Program to Reverse a String (Method – 2 Using String.getBytes() Method) Program 3 : Program to Reverse a String (Method – 3 Using StringBuilder.reverse() Method) Program 4 : Program to Reverse a String (Method…
- March 2025
- January 2025
- December 2024
- November 2024
- April 2024
- December 2023
- November 2023
- October 2023
- August 2023
android (2) array (2) arraycomparator (1) arrayssort (1) break (1) builtinexception (1) catch (1) checkedexception (1) compiletimeexception (1) compiletimerror (1) continue (1) customexception (1) decisionmaking (2) decisionmakingstatements (2) dowhileloop (1) error (1) exception (1) exceptionhandling (1) finally (1) finallyblock (1) forloop (2) goto (1) hashmap (1) if (1) ifelse (1) ifelseif (1) ifelseifladder (1) iteration (2) java (41) javaarray (1) javabreak (1) javacontinue (1) javadowhileloop (1) javaexception (1) javaexceptionhandling (1) javaforloop (1) javagoto (1) javahashmap (1) javaif (1) javaifelse (1) javaifelseif (1) javaifelseifladder (1) javaiteration (1) javajumpstatements (2) java keyword (4) javakeyword (2) javakeywords (2) javalabel (1) javaloop (1) javaloops (2) javamethodlocalinnerclass (1) javanestedif (1) java oops (2) javapalindrome (1) javaprogram (30) javaprogramming (22) javareturn (1) javasearching (2) javasorting (6) javastaticnestedclass (1) javastring (7) javastringpalindrome (1) javastringprogram (6) javastringsort (1) javaswitchcase (2) javawhileloop (1) jump (1) jumpstatement (1) jumpstatements (2) keyword (5) label (1) logicalerror (1) loop (3) mergesort (2) nestedif (1) oops (2) palindrome (2) recursion (2) return (1) runtimeerror (1) runtimeexception (1) searching (2) set (1) sort (1) sorting (7) staticnestedclass (1) string (7) stringbuilder (2) stringpalindrome (1) switchcase (2) syntaxerror (1) throw (1) throws (1) try (1) try-catch (1) trycatch (1) trycatchblock (1) uncheckedexception (1) userdefinedexception (1) whileloop (1)