Write a java program to check regular expression.
Given a string (s) apply the following rules. 1. The string should not begin with a number. If the condition is satisfied then print TRUE
Given a string (s) apply the following rules. 1. The string should not begin with a number. If the condition is satisfied then print TRUE
Write a Program that accepts a decimal number n, and converts the number to binary. The return type is long representing the binary number. Input
Write a program that accepts three inputs, first two inputs are operands in int form and the third one being one of the following five
Given a string input, write a program to replace every appearance of the word “is” with “is not”. If the word “is” is immediately preceded or
Given two inputs year and month (Month is coded as Jan=0, Feb=1, Mar=2 …), write a program to find out the total number of days
Problem Statement Given three strings say Searchstring, Str1, and Str2 as input, write a Java program to find out if Str2 comes after Str1 in
Given a string, startIndex and length, write a program to extract the substring from right to left. Assume the last character has an index of
Given a string input, write a program to find the total number of vowels in the given string. It returns an int that corresponds to
Write a program to read a string representing a date. The date can be in any of the three formats dd-MM-yyyy dd/MM/yyyy dd.MM.yyyy If the
Write a program to read a string and return a modified string based on the following rules. Return the String without the first 2 chars