Answer Posted / upasana das
example of inheritance using super keyword
a(int i,int j)
System.out.println(" "+x+" "+y);
class b extends a
b(int i,int j)
public static void main(String args)
b ob=new b(24,2);
output: 24 2
|Is This Answer Correct ?||2 Yes||2 No|
Can the main method be declared final?
What is data encapsulation?
Is lambda functional programming?
What is jep in java?
How do I run a project in eclipse?
What can open a jar file?
Why oracle type 4 driver is named as oracle thin driver?
What is setstring method in java?
How do I open the java console in windows 10?
Who created eclipse?
What's the difference between code-based security and role-based security? Which one is better? : java security
What is a java proxy?
What is web xml java?
What is dao in java?
what about jdb and javadoc by example ?