Answer:
Promiscuous mode
Explanation:
You decide to use a packet sniffer to identify the type of traffic sent to a router. You run the packet sniffing software on a device connected to the same hub that is connected to the router. When you run the software, you only see frames addresse…
✓ Promiscuous mode
Answer:
// program in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int inp_month;
cout<<"Enter month:";
// read month
cin>>inp_month;
// if month is february
if(inp_month==2)
cout<<"Number of days in month:28"<<endl;
// if month is 4 or 6 or 9 or 11
else if(inp_month==4||inp_month==6||inp_month==9||inp_month==11)
cout<<"Number of days in month:30"<<endl;
else
// for others month
cout<<"Number of days in month:31"<<endl;
return 0;
}
Explanation:
Read month from user and assign it to variable "inp_month".If month is 2 then there is 28 days in the month.If input month is 4 or 6 or 9 or 11 then there is 30 days in the month.For other month there will be 31 days in month.We assume there is no leap year.
Output:
Enter month:4
Number of days in month:30
Answer:
The correct answer for the given question is option(b) i. e "Integer" and option(c) i.e "Object".
Explanation:
The Integer is a wrapper class for int data type in the java programming language, The integer provides more flexibility in storing the data and manipulating the data .
The syntax of using Integer type is given below
Integer variable_name = new Integer("value");
For example
Integer a1 = new Integer("12") ;
Object is the class in java programming language which is present in java.lang package. Object also describe the return type of the java constructor.