This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am preapring for Java interview, I came across this question.
Q) when you declare a method as a abstract, can other non abstract methods can access it?
Ans)Yes,other non abstract methods can access a method that you declare as a abstract.
Yesss.....Non-abstract method can call Non-abstract method
Reason :- Compiler ensures that we cannot create an object for an abstract class.
This means whenever we could call that non-abstract method, it would be called only from the class which extends the abstract class.
In that case , the class which would extend the abstract class has to implement the abstract method.
So it is possible to call it !!!