/******************************************************************************
Online Java Compiler.
Code, Compile, Run and Debug java program online.
Write your code in this editor and press "Run" button to execute it.
*******************************************************************************/
class prarent{
prarent(int a)
{
System.out.println("parent value"+ a);
}
}
class child extends prarent{
child()
{
super(10);
System.out.println("child");
}}
public class Main
{
public static void main(String[] args) {
new child();
}
}