Answer:
red
Explanation:
public class CarTest {
public static void main(String[] argvs) {
//below line will create an object of CarTest class Object
CarTest carTest = new CarTest();
//This will call runDemo method
carTest.runDemo();
}
public void runDemo() {
//Below line will create an object of Car class with color blue and 4 wheel
Car c = new Car("blue", 4);
//Bellow Line will change the color from blue to red, see the logic writteen in chnageColor method definition
changeColor(c, "red");
//Below line will print the color as red
System.out.println(c.getColor());
}
public void changeColor(Car car, String newColor) {
//This line will set the color as passed color in the car object
car.setColor(newColor);
}
}
Answer:
its called whats poppin lol
Explanation:
:)
Answer:
The TCP/IP is the transmission control protocol and internet protocol and in the TCP/IP model the transport layer is the second layer.
The primary responsibility of this layer is that it is basically used to deliver messages to the host and that is why it is known as end to end layer.
It basically provide the point to point connection between the destination to server host for delivering the various types of the services efficiently and reliably.
In the TCP/IP model the transport layer are basically responsible for transferring the data or service error free between the server to destination host.