Posts

Showing posts from 2019

The Shadowing Effect of Femtocells

Image
What square measure Femtocells? A Femtocell is that the smallest kind of cell wont to expand cellular network property among a targeted region (typically alittle, single location). Femtocells square measure used as a wireless access purpose that improves cellular reception within home knowledge traffic or office block. This device communicates with the portable and converts your voice calls into voice science (VoIP) packets. The packets square measure then transmitted over a broadband affiliation to the mobile operator's servers. In addition to being littleest|the littlest|the tiniest} however smartest within the family of small cell technologies, Femtocells uses the lease quantity of power; in and of itself, they don’t supply the maximum amount of an effect once making an attempt to expand network property. In fact, compared to alternative sorts of little cells, like picocells and microcells, femtocells supply {the least|the smallest quantity} amount of extra information measur...

What is the MAC address of your system?

Image
Q. Write a Java progarm in order to check the MAC Address of your system. Ans.  import java.io.*;  import java.net.*; public class mac { public static void main(String[] args)    {   InetAddress ip;   try {    ip = InetAddress.getLocalHost();    System.out.println("IP address : " + ip.getHostAddress());    NetworkInterface network = NetworkInterface.getByInetAddress(ip);    byte[] mac = network.getHardwareAddress();    System.out.print("MAC address : ");    StringBuilder sb = new StringBuilder();    for (int i = 0; i < mac.length; i++)   {     sb.append(String.format("%02X%s", mac[i], (i < mac.length - 1) ? "-" : ""));    }    System.out.println(sb.toString());   }    catch (Exception e)   {    e.printStackTrace();   }  } } Output: javac mac.java (//enter) java mac (//enter)...

How Check IP Address of your system

Image
Q. Write a Java progarm in order to check the IP Address of the system. Ans. import java.io.*; import java.net.*; public class ip { public static void main(String args[])  {   try    {     InetAddress ob=InetAddress.getLocalHost();     System.out.println("IP of my system:"+ob.getHostAddress());     }    catch(IOException e)    {     System.out.println("Exception is="+e.getMessage()e.getMessage());     }   } } Output: javac ip.java  (//enter) java ip  (//enter) IP of my system: 192.168.1.21 ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix: domain.name IP Address............................: 192.168.1.14 Subnet Musk.........................: 255.255.255.0 Default Gateway....................: 192.168.1.1