Program to Move zeros to end of integer array in java (example)
Given an array containing integers (+ve, -ve & 0), we would like to move zeros to end of array. We […]
Given an array containing integers (+ve, -ve & 0), we would like to move zeros to end of array. We […]
Given two matrices in Java. Write a program two add matrices. Two matrices can be added only if they have
Given one dimensional array in java. Calculate running sum of array. Example to find running sum of array Example 1:
Given inputStream in Java Convert InputStream to String using InputStreamReader class in java. Methods of InputStreamReader used for inputStream to
Given an array of strings in java. We would like to sort an array of strings in alphabetical order using
Given String in java. We would like to count number of vowels & consonants In English there are 26 alphabets
What is ThreadLocalRandom? ThreadLocalRandom is used to generate random number typically for multi threading environment. ThreadLocalRandom is particularly useful to
Given String in java. We would like to print duplicate or repeated characters in a String. Examples: Duplicate or repeated
Problem Statement? Get IPAddress & Hostname, Canonical name for localhost. InetAddress class provides APIs to retrieve network details for localhost.
Given char value in java. We would like to convert char to string using following methods. toString method of Character
Given String value in java. We would like to convert String to char & char array using following methods. charAt
Given char array in java. We would like to convert char array to string using following methods. Java 8 Stream
Explicit waits are used to halt script execution untill a particular condition is met or the maximum time has elapsed.
Given two binary numbers in java We would like to find out sum of two binary numbers. Examples: add two
Given a integer number, check given number is positive. negative or zero. If the input number is greater than zero
Given a integer number, find out the power of given number. Methods to calculate power of given number. Calculate power
Problem Statement ? Given Principal amount (P). Rate of interest (R). Time Period (T) Find out the simple interest in
Problem Statement (Java Security): What is default provider used by cryptographic cipher. How to use providers apart from default providers
Problem Statement (Java Security): Print or list all Java Cryptography Extension (JCE)/Java Cryptography Architecture (JCA) providers configured in Java Runtime.
Problem Statement ? Install Bouncy Castle (BC) Provider for Java Cryptography Extension (JCE) and Java Cryptography Architecture (JCA) Install and Configure
Implicit wait tells the web driver to wait for a certain amount of time before throwing an exception. In implicit
Given any web page, we have a functionality to drag and drop an item from one location to another location.
ElementNotVisibleException is one of the most frequently occurred exceptions we face in selenium webdriver while performing automation of web applications.
Given any Web page, we can upload a file using sendKeys method in Selenium WebDriver. Lets discuss this in detail.
Selenium WebDriver uses locators to locate web elements on web pages. Choice of good locator strategy ensures that tests are
Selenium is a open source automation tool used to perform automation of web based applications across different browsers and platforms.
Problem Statement ? Given URL (Uniform Resource Locator) or URI, we would like to encode URL to Base64 and decode
A cookie is a small piece of data that is sent from a website and stored in your computer. Cookies
A cookie is a small piece of data that is sent from a website and stored in your computer. Cookies
A cookie is a small piece of data that is sent from a website and stored in your computer. Cookies