Sunday, January 31, 2016

ParentClass3

package inheritance;

public class ParentClass3 {

int a = 70;
int b = 50;

static int c = 60;
static double d = 60;

void test1(){
System.out.println(" I am from parent calss test1");
}

void test2(){
System.out.println(" I am from parent class test2");
}

static void test3(){
System.out.println(" I am from parent class test3");
}



}

1 comment:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Core Java Training in Electronic city

    ReplyDelete