Answer:
In which drawer can yu set certain lights t light up n yur micr:bit?
Explanation:
Answer:
3.85 out of 4
Explanation:
As 96.1791 out of 100 gives 96.1791% calculated below:
Percentage formula: (Obtained value/total value)*100.......eq(1)
Putting values:
= (96.1791/100)*100
= 96.1791%
Now finding 96.1791% of 4:
Putting values in eq (1):
96.1791% = (Obtained value/4)*100
96.1791/100= (Obtained value/4) (dividing by 100 on both sides)
0.961791 = (Obtained value/4)
4* 0.961791 = Obtained value (multiplying 4 on both sides)
3.847164 = Obtained value
Then 96.1791% of 4 will be equal to: 0.961791 * 4 = 3.847164
Rounding off the answer to 2 decimal places:
=3.85 (As the digit on 3rd decimal place is greater than 5)
Answer:
D. Birmingham
Explanation:
Entering the search criteria "B", would yield Birmingham.
Answer:
The code will give an error that is "At least one public class is required in main file".
Explanation:
In the given code if we do not use the public access modifier to the class. It will give an error so, the correct code to this question as follows:
Program:
import java.util.HashSet; //import package
public class A //define class as public.
{
public static void main(String[ ] args) //define main method.
{
HashSet set = new HashSet(); //creating hashset object.
set.add("A"); //add alphabet in hashset
set.add("B"); //add alphabet in hashset
set.add("C"); //add alphabet in hashset
System.out.print("Size of HashSet is :"set.size()); //print the size of hashset.
}
}
Output:
Size of HashSet is : 3
Explanation of the program:
- In the above program, we define a public class that is "A" and inside the class, we define the main method.
- Inside the main method, we create a HashSet class object that is "set".
- To add elements in HashSet we use add() function that adds elements and in the last, we use the size() function that prints the size HashSet.