question archive The "advanced search" feature of many search engines allows you to use Boolean operators for complex queries, such as (cats OR dogs) AND NOT pets
Subject:Computer SciencePrice:2.87 Bought7
The "advanced search" feature of many search engines allows you to use Boolean operators for complex queries, such as (cats OR dogs) AND NOT pets. Contrast these search operators with the Boolean operators in Java.
Answer:
The search operators with boolean operators in java are as follows:
1) Boolean search operator AND: This operator is used in the search to add multiple things in the search. In various java build websites, you dont need to explicitly provide this AND operator, in the search box the space between two search word work as an AND operator.
For example: C++ JAVA JOBS
Here the search will be based on C++ AND JAVA AND JOBS
2) Boolean search operator OR: This operator is basically used to broadens the search result. This boolean search operator interpreted as atleast one of the two or more is required.
3) Boolean search operator NOT: This operator with java is used to specify that query will not return any result with the term that is associated with NOT. Its being used for very restrictive search in various java websites.