‹ Back to the paper
Answer the following questions.
Fix the following keywords at the right places: extends, super, protected, abstract, implements…
Fix the following keywords at the right places:
extends, super, protected, abstract, implements(a)[1.0]
class D1 ______ i1, i2
{
}(b)[1.0]
_________ void printInfo( );(c)[1.0]
class S1
{
}
class D2 ______ S1
{
}(d)[1.0]
class S2
{
public void show( )
{
}
}
class D3 extends S2
{
public void show( )
{
____.show( );
}
}(e)[1.0]
// Package X
class S3 {
______ int data;
}
// Package Y
class D4 extends S3 {
public void calc() {
data = 120 * 3;
}
}Answer
No answer yet.
From ISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024), question 65.