class in dbms is nothing but a collection of attributes.... class in java is defined as collection of objects....:D
In dbms with m attributes 2^m-1 keys are possible. BY-ROHIT
super
NA_ what are highlights of advanced DBMS what are highlights of advanced DBMS what are highlights of advanced DBMS
no, Java is not dbms.. Java is a programming language Dbms is database
dbms
Yes. Inheritance is achieved by using the super class and sub class concept
Hierarchical DBMSNetwork DBMSRelational DBMS
By using the reference super(); When you invoke super(); the JVM knows that you are trying to invoke the constructor from the parent class and calls the super class constructor automatically. In fact, the invocation to super(); is usually the first line of any class constructor. This is done to ensure that all the parent class objects are initialized before the current child class is created.
object class is a super class for all other class...
Variables of the super class can be accessed using the super keyword. Here is an example. class A { int a; } class B extends A { int a; public B() { super.a = 5; } }
The super and this keywords are mainly used in case of inheritance. this - refers to the object of the current class instance super - refers to the object of the instance of the parent class of the current class.