class example{
protected int a,b;
example(int x,int y)
{
a=x;
b=y;
}
int outa(){
return a;
}
int outb(){
return b;
}
}
class example2 extends example{
protected int c;
example2(int x,int y,int z){
super(x,y);
c=z;
}
int outc(){
return c;
}

}
class examplesuper{
public static void main(String args[]){
example2 obj=new example2(23,34,45);
System.out.println(“a=”+obj.outa());
System.out.println(“b=”+obj.outb());
System.out.println(“c=”+obj.outc());
}
}

Home      |      About Us      |     Portfolio      |      Services      |      Courses      |     Career      |      Cost      |      Contact Us
Services
  SEO   
  Link Building
  Data Entry
  Web Design and development
  Web Application development
 

Graphic and multimedia

  E-Commerce Solutions
  Software development
  Web Marketing & Promoting
  Internet Marketing
  IT Outsourcing
  Multimedia/CD Presentation
  Synopsis Ideas
  Project Ideas
  Placement Papers
  Live Project Training
  Programming & Projects
  Faq
  Training @balujalabs
 
 
Method
 

Use Of Constrictors in Constrictors in

 

 

 

 

 

 

 

 

 

                                                                                                                                          

1

Program To Demonstrate

2

Application of Single Inheritance

3 Application of Super ( ) In Inheritance.
4 Use Of Constrictors in Constrictors in
5

To Demonstrate Method Oveiloediey

6

Differentiate Accers Modifiers.