Its okay my friend. you dont need to over stress it.
Kinda confused what worksheet your on
Answer:
True is the correct answer to the above question.
Explanation:
- If x is a string then it can be assigned by the help of two ways in java:
- By the help of constructor:- When we write " x = new String("OH");", then it will create a pass a string "OH" into the constructor. It is because the String is a class in java and x is an object created by the constructor of the String class.
- With the help of assigning: The "x= OH", which assigns the value of x which is an object of String class it can also use the constructor to initialize the "OH" string on the class.
- The above question states the two scenarios which are defined above. Hence the question statement is true.
Answer:
Sally's average speed is 0.5 km/min
Explanation:
speed=distance/time
so, 5km/10min=0.5 km/min