File tree
Expand file treeCollapse file tree2 files changed
+16
-0
lines changed Expand file treeCollapse file tree2 files changed
+16
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +package com.umer.finduppercase; |
| 2 | + |
| 3 | +public class FindUppercaseService { |
| 4 | + |
| 5 | +public char findFirstUppercaseLetter(String inputForCheckingUppercaseLetter) { |
| 6 | +return ' '; |
| 7 | +} |
| 8 | +} |
Original file line number | Diff line number | Diff line change |
---|
|
5 | 5 | import com.umer.decimaltobinary.DecimnalToBinaryConverterService;
|
6 | 6 | import com.umer.fabonacci.FabonacciService;
|
7 | 7 | import com.umer.factorial.FactorialService;
|
| 8 | +import com.umer.finduppercase.FindUppercaseService; |
8 | 9 | import com.umer.gcd.GCDService;
|
9 | 10 | import com.umer.palindrome.PalindromeService;
|
10 | 11 | import com.umer.power.PowerCalculationService;
|
@@ -85,6 +86,13 @@ public static void main(String[] args) {
|
85 | 86 | System.out.println(palindromeService.isPalindrone(inputToCheckForPalindrone));
|
86 | 87 | System.out.println();
|
87 | 88 |
|
| 89 | +FindUppercaseService findUppercaseService = new FindUppercaseService(); |
| 90 | +String inputForCheckingUppercaseLetter = "teststringA"; |
| 91 | +System.out.println( |
| 92 | +"Finding the first uppercase letter in the given input string: " + inputForCheckingUppercaseLetter); |
| 93 | +System.out.println(findUppercaseService.findFirstUppercaseLetter(inputForCheckingUppercaseLetter)); |
| 94 | +System.out.println(); |
| 95 | + |
88 | 96 | }
|
89 | 97 |
|
90 | 98 | }
|
You can’t perform that action at this time.
0 commit comments