-
Junior Member
Re: Java
The main objective of OOP is to provide security. But through the multiple inheritance one class data will be available to the other classes that means we r not providing security for the classes.
Thats why multiple inheritance was not supported by Java. But it indirectly supports through the interfaces. In interfaces we can inherit more than one interfaces.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules