An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate their data. Java does not support multiple inheritance, ...
What are different properties provided by Object-oriented systems ? Can you explain different properties of Object Oriented Systems? Whats difference between Association , Aggregation and Inheritance relationships?
A) CastingB) DirectCastC) InheritenceCastD) LevelCasting
B) DirectCast ...
Encapsulation : is the wrapping up of data . then what is the use of encapsulation & where it is being used.similarlly inheritance and polymorphism
Skill/Topic: AWT & AppletsA) TrueB) False
true ...
Yes it does support. ...
Internal class Piston{}internal class Engine{private Pistone[] myPistones = new Piston[4]; public bool Ignition() { // some code..... return; }}public class Car{ private Engine myEngine = new Engine(); public void Start() { // put in keys etc........... if(myEngine.ignition()) { //some code ....
Polymorhism: is a feature of OOPl that at run time depending upon the type of object the appropriate method is called.Inheritance: is a feature of OOPL that represents the "is a" relationship
Class C extends A implements B{}
View page << Previous 4 5 6 7 [8] 9 Next >>

Go Top