Java

digitization, transformation, binary

Class DatagramPacket in Java

Class DatagramPacket in Java The DatagramPacket class represents a datagram packet that can be sent or received over the network through DatagramSocket. Datagram packets are used to implement a connectionless packet delivery service. Each message is routed from one machine to another based solely on the information contained within the packet. Multiple packets sent from …

Class DatagramPacket in Java Read More »

digitization, transformation, binary

Class ContentHandler in Java

Class ContentHandler in Java ContentHandler is an abstract class and is the superclass of all classes that read an Object from a URL connection and then create an Object appropriate for the type of content it has read. Each subclass of ContentHandler handles a specific type of content (i.e., MIME type). An application does not …

Class ContentHandler in Java Read More »

digitization, transformation, binary

Class StringBuffer in Java

Class StringBuffer in Java: StringBuffer is a peer class of String. While string creates Strings of fixed length, StringBuffer creates Strings of flexible length that can be modified in terms of length and content. We can insert characters and subString in the middle of a String or append another String to the end. A StringBuffer …

Class StringBuffer in Java Read More »

digitization, transformation, binary

Class Long in Java

Class Long in Java Long class wraps a value of the primitive type long in an immutable Object. An object of type long contains a single field whose type is long. This is useful when we need to treat a long value as an object. For example, there are a number of utility methods that …

Class Long in Java Read More »

digitization, transformation, binary

Class Integer in Java

Class Integer in Java Class Integer wraps a value of the primitive type int into an immutable Object. An Object of type Integer contains a single field whose type is int. This is useful when we need to treat an int value as an object. This class also contains useful minimum and maximum constants and …

Class Integer in Java Read More »

digitization, transformation, binary

Class Float in Java

Class Float in Java Float Class wraps a value of type float in an immutable Object. An Object of type Float contains a single field whose type is a float. The Float class provides an object wrapper for a float value. This is useful when you need to treat a float value as an object. …

Class Float in Java Read More »