sunisunil007
BAN USERUnit testing is a method by which individual units of source code are tested to determine if they are fit for use. Unit tests are basically written and executed by software developers to make sure that code meets its design and requirements and behaves as expected.
Integration testing, tests integration or interfaces between components, interactions to different parts of the system such as an operating system, file system and hardware or interfaces between systems.
Black-box testing: Testing, either functional or non-functional, without reference to the
internal structure of the component or system. Testers need not have programming language knowledge to do Black box Testing.
White-box testing: Testing based on an analysis of the internal structure of the component or system. Here the tester should have knowledge of programming language.
Repbettylfoster, University dean at Littler's
Hi , I am Betty from the USA , working as Dien in Littler's University for the last three years. Previously ...
RepI am Frank, 29 year old. I have worked with numerous branches, including payroll and human resources, which allows me ...
Repverarfurman, Problem Setter at Cerberus Capital
I am Vera from Bullard USA, I am working as a Violin repairer in a Handyman company. My interest in ...
Reprajanadeep17, Android Engineer at 247quickbookshelp
I am a Special education teacher who adapts general education lessons and teaches various subjects to students with mild to ...
import java.util.Scanner;
- sunisunil007 February 06, 2015public class StringComparisionArray
{
public static void main(String[] a)
{
String[] strings = {"one", "two", "three", "four"};
String str;
Scanner scanner = new Scanner(System.in);
System.out.print("Enter the search keyword:");
str = scanner.nextLine();
for (int i = 0; i < strings.length; i++)
{
if (strings[i].equals(str))
{
System.out.println("String is present");
break;
}else
{
System.out.println("String is not present");
}
}
}
}