Answer:
import java.util.Scanner;
public class num2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter Name");
String name = in.next();
System.out.println("Enter Age");
int age = in.nextInt();
System.out.println("The age of "+name +" is "+age);
}
}
Explanation:
Java programming language is used to write the code.
The scanner class is used to prompt and receive values for name and age which are stored in the appropriate variables.
The key idea here is using string concatenation in the output statement in order to print the desired output
Answer:
True.
Explanation:
In the code given in the question we have an abstract class A.Then we have a class B which inherits the class A it is also an example of single inheritance.
Line A c; creates a reference of A type.
Line c=new B(); states that the reference of A type will refer to an object of class B.
Hence we conclude that the answer is True.
Answer:
The following where many reasons why IPv6 was used instead of IPv5 which are the limitation of it's 32 bit address, IPv5 began or used with a different name called Internet streaming, IPv6 provides unlimited addressing, because it comprises of 128 bit.
Explanation:
Solution:
The following reasons why Proponents of IPs used IPV6 instead of IPv5 is stated as follows:
- Due to its limited 32 bit addressing
- IPv6 offers almost unlimited addressing because of its 128-bit addressing
- IPv5 started under a different name which is internet stream(ST)
- ST(Internet streaming) was developed for streaming video and voice
- ST was developed by Apple, NeXT, and Sun Microsystems
- ST was effective on specific frequency to carry out communication
Answer:
okay so,bruedbure
Explanation:
yedhuji r4uh 4tuh t4gyi gu4h gtuh4tgr
Answer:
flight stimulators are used to train astronaut and design simple air craft