Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
while (interfaces.hasMoreElements()) {
NetworkInterface nic = interfaces.nextElement();
System.out.print("Interface Name : [" + nic.getDisplayName() + "]");
System.out.println(", Is connected : [" + nic.isUp() + "]");
}
Additionally several new useful methods such as isLoopBack(), isPointToPoint() and many more have been added in JDK 1.6 release. Refer to the Javadocs for more information on NetworkInterface class in java.net package.
Why NoSQL is in fashion?
-
Couple of years back NoSQL was relatively unheard term. It has become a new
buzzword in town, catching people's imagination. Almost all big daddies of
In...
8 months ago
1 comments:
Hi Mr.navnit,
You were introduced by my fren varan who the best can be java guru. I'm willing and eager to learn java. Needs your assistance in my learnings. If u are willing, please proposed me the best beginner resources that i can learn java my self.
confusion with public void main string
Post a Comment