Tag: OCA Java Programmer 1
-
How to write JUnit test code in Java for the function String Palindrome check ?
This is the JUnit 5 solution to cover all kinds of inputs and outputs to check whether the given String is a Palindrome or not. This Unit test executes tests for the ‘StringPalindrome’ function available in the class ‘StringPalindromJunit5’.
-
How to find String Palindrome check of the given given String ?
This is the complete solution to find the String Palindrome check from the given String. The solution consists of a functional interface, super class and a couple of derived classes implementing the interface.
-
How to write JUnit test code in Java for the function finding Sum of the numbers from the given number ?
This is the JUnit 5 solution to cover all kinds of inputs and outputs to find the sum of the digits from a given number. This Unit test executes tests for the ‘SumDigits’ function available in the class ‘SumofDigitsJUnit’.
-
How to find Sum of digits from the given number ?
This is the complete solution to find the sum of digits from a given integer. The solution consists of a functional interface, super class and three derived classes implementing the interface.
-
How to write JUnit test code in Java for the function finding Frequency of the numbers from given array of Integers ?
This is the JUnit 5 solution to cover all kinds of inputs and outputs to find the Frequency of the numbers from an array of integers. This Unit test executes tests for the ‘RdInputArray’ function available in the class ‘FrequencyNumsJ8’.
-
How to find Frequency of the Numbers from the given array of Integers ?
This is the complete solution to find the frequency numbers from given array of the numbers This solution is designed to to solve the problem using an interface, super class and three derived classes implementing the interface.
-
How to write JUnit test code in Java for the function finding Leader numbers from given array of Integers ?
This is the JUnit 5 solution to cover all kinds of inputs and outputs to find the leader numbers from an array of integers. This Unit test executes tests for the ‘RdInputArray’ function available in the class ‘LeaderNumsJ8’.
-
How to find Leader Numbers from the given array of Integers ?
This is the complete solution to find the leader numbers from given array of the numbers This solution is designed to to solve the problem using an interface, super class and two derived classes implementing the interface.
-
How to write JUnit test code in Java for the function finding Doublets who sum divisible by 9 from given array of Integers ?
This is the JUnit 5 solution to cover all kinds of inputs provided to find the Doublets whose sum divisible by 9 from an array of integers. This Unit test executes tests for the ‘ParseAnArrayInput’ function available in the class ‘DoubletsSumDivBy9J8’.
-
How to find Doublets whose sum is divisible by 9 from the given array of Integers ?
This is the complete solution to find the Doublets whose sum is divisible by 9. This solution is designed to to solve the problem using an interface, super class and two derived classes implementing the interface.
