Answer:
1.true
2.true
Ok will wait my rate ok❤️
Answer:
"Transport" is the correct answer.
Explanation:
- Two platforms resemble the transport layer: TCP, as well as UDP. This same different network IP protocol continues to provide a sequence number to the target server from some kind of destination node.
- That whenever a server user requests to another server, that indicates the enslaved person delivers a response to a network interface.
So that the above would be the correct approach.
When using an HDMI to DVI adapter, the adapter will work with two DVI ports which are <span>DVI-D and DVI-I ports
</span>DVI<span> is a digital signal that has the same format as the video portion of </span>HDMI<span>. However, </span>DVI<span> doesn't carry the audio signal whereas the </span>HDMI does<span>.
This means that if you are only using the video signal you can use a simple </span>DVI to HDMI<span> plug-</span>adapter<span> that changes the physical connections.</span>
Answer:
(s.charAt(0) != s.charAt(s.length()-1))
Explanation:
public class Palindrome
{
public static void main(String[] args) {
System.out.println(isPalindrome("car"));
System.out.println(isPalindrome("carac"));
}
public static boolean isPalindrome(String s) {
if (s.length() <= 1)
return true;
else if (s.charAt(0) != s.charAt(s.length()-1))
return false;
else
return isPalindrome(s.substring(1, s.length() - 1));
}
}
You may see the whole code above with two test scenarios.
The part that needs to be filled is the base case that if the character at position 0 is not equal to the character at the last position in the string, that means the string is not a palindrome. (If this condition meets, it checks for the second and the one before the last position, and keeps checking)