Skip to main content

Posts

Showing posts with the label Network

Constructor - Basic Java Programming

constructor is a spacial member function of class. member function name and class name should be same is called constructor. it execute when object is initialize for that class. Eg: class A { void A() { System.out.println("constructor called"); } public static void main(String[] args) { A a=new A(); } } output: constructor called From the above Java code contains one class named as "A".then the class have two member functions one is "A()" and another one is "main()".Now the Member Function name and class name should be same its called as constructor.We initialize the object for class A inside the main method.then the constructor automatically executed. Types Of Constructor 1.Simple Constructor 2. Parameterized Constructor Simple Contractor The Constructor Does Not Pass Parameters. Parameterized Constructor The Constructor Pass Parameters. eg: class A { void A(int a) { System.out.println("Parameterized Constructor : ...

Different Between OSI And IP/TCP

OSI TCP/IP It Has Seven Layer It Has Four Layer Transparent Layer Granite Delivery Of Packets Transport Layer Doesn't Granite Of Packets Horizontal Approach In Transmission Vertical Approach In Transmission Separate Session Layer No Session Layers Separate Presentation Layer No Presentation Layer Network Layer Provide Both Connection Less And Oriented Services Only Connection Less Services OSI is truly a general model it be used for any other application

OSI Reference Model

1.Physical Layer Physical layer coordinates the require electronic components or functions to Transmit data between computer systems.              1.Physical character sticks               2.Bit Rate 2.Data Link Layer Data Link Layer Convert the Physical Binary Data Form Into Frames. A Combination of Bit Rate is Called Frame. 3.Network Layer It is Responsible For Source To Designation Delivery Of Pockets. Which Contains Logical Address To Identify The sender and Receiver. 4.Transport Layer Its Transport The Data Into Network. 5.Session Layer Its establish,maintain and synchronous between communicate systems. Its Manage The Transmission Data Time Between Two or More Systems. 6.Presentation Layer It is Convert Transport Data Into Application Data. Interface Between Transport Layer And Application Layer. 7.Application Layer 7 Th Layer Of OSI(Open System InterFace) model. Which Provide The Data To User Interface.

Network -Basic Networking Concepts

Autonomous Computers are Inter connected. (or) Connected Computers are used to interchange The data or communication is called Network. Network Software A Software Which is Used to Communicate or Transmit The between Multiple Systems. Network Protocols HTTP->Hyper Text Transmission Protocol FTP->File Transfer Protocol TCP->Transmission Protocol UDP VoP-> Voice Over Protocol SMTP->Simple Mail Transfer Protocol STP->Secure TRansfer Protocol