REGISTER FREE to Receive Instant Job

Friday, 5 December 2014

Networking in Java

Networking
java.net package provides classes which facilitate development of networking applications in Java.
Commonly used classes of this package are –

  • InetAddress
  • Socket
  • ServerSocket
  • DatagramSocket
  • DatagramPacket

InetAddress class provides object representation of IP Address of machines on a network. This class doesn’t provide public constructors rather it provides factory methods for creating its objects.
Factory is a creational design pattern that is used to control the creation of objects. This design pattern is implemented with the help of factory classes. A factory class is a class that contains factory methods.
A factory method is a method which creates objects.

  • Types of Design Patterns
  • Creational Design Pattern.
  • Structural Design Pattern.
  • Behaviour Design Pattern. 

1 comment:

Popular Posts

Powered by Blogger.

About Me

My photo

JobsAcid is a 'job search engine' to provide finding a job on the internet easier for the user. It has designed as huge selection of job offerings on the same search engine.