| 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 |
Class is a collection of similar objects. Which have common properties. Syntax class class_name { //member functions and variables. } How to create a objects for class class_name c=new class_name; We can access the member variable and member methods using dot operator. c.member_function(); Eg : class bike { void fun() { System.out.println("member method"); } public static void main(String[] args) { bike B=new bike(); B.fun(); } } output member method
Comments
Post a Comment