Getting IP address and Hostname using InetAddress Class.

InetAddress class is used to represent the Internet Protocol address.getByName(hostName) returns the all the details of a given hostname. InetAddress Class Usage In the below program TM-RXTUVC4 is the name of your Computer. Once we created an object of InetAddress class. And pass hostname as an argument via getByName() all the details like IP address,Read More

User inputs via Command Prompt using arguments of main() method of a class.

There is also a third way to take user input via using Console class. This method helps a user to take inputs via Command Prompt. Before reading this post, would request you to visit below tutorial first to get more understanding on Console Class: Basic Java – 17 || Runtime User Input using Console ClassRead More

Site Statistics

  • Users online: 0 
  • Visitors today : 2
  • Page views today : 2
  • Total visitors : 51,167
  • Total page view: 70,434

   YouTube ChannelQuora

            Ashok Kumar is working in an IT Company as a QA Consultant. He has started his career as a Test Trainee in manual testing in August 2010. Then he moves towards the automation testing after 4 years. He started learning JAVA and Selenium by self to get the knowledge of automation.

       While learning these tools and working on multiple projects, he found that sometimes people get stuck in live scenarios in their project and they have to do lots of RnD to get out of it. So he decided to start blogging only for such scenarios, where anyone facing any problem in their project, can ask any question or give a solution or you can say an alternate solution to achieve the goal successfully.

Later on, he observed that some people want to learn Java but they have few questions in their mind like how to start Java, whether we should go for the online or offline course. So he started writing tutorials on Java, Jira, Selenium, Excel etc.