Example On Encapsulation (Local Class) Procedure :- Step 1. Create Interface Step 2. Create Class Definition For Class 1 & Class 2 Step 3. Create Implementation For Both Classes Step 4. Create Refferal Objects , Objects , & Call Methods Step 5. Execute .
0 comments:
Post a Comment