Panav Kumar

Greenhorn
+ Follow
since Dec 26, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Panav Kumar

Yes an abstract class can extends concrete class.
Example:
Concrete .java
public class Concrete
{
public void add(){
int i = 3;
int j = 5;
int z = i+j;
System.out.println("Sum is:"+z);

}
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}

Extended .java
public abstract class Extended extends Concrete
{
public static void main(String[] args)
{
Concrete c = new Concrete();
c.add();

}
}

Output is: Sum is:8
17 years ago
If you are using eclipse IDE then you can search for your method and it will show you all methods and class name where your method is in use.
17 years ago
An enterprise Bean's home interface defines the methods that allow a client to create, find, and remove EJB objects. All bean classes must implement javax.ejb.EnterpriseBean so it is necessary to implement all the method of interface.