package project.sample;
 class A
{
 void m1()
 { 
 System.out.println("m1 method");
 }
}

A.java is one java file how to import this file into another file by 
extends please help iam choosing method below but its error

this is another file of java

import  project.sample.*;
public class B extends A
{
public static void main(String[] args)
{
B val=new B();
val.m1();
}
}

A.java and B.java are different file.
please help any one 

-- 
-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Free 
Software Users Group,  Thiruvananthapuram" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ilug-tvm+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to