Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / chellammal
No. It is not compulsory that an abstract class
should have atleast one abstract method.
One can declare a class as abstract still with full
implementation of methods. This avoids the instantiation
the class
Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
Which is faster call by value or call by reference?
What does regex mean?
What is anti pattern in cyber security?
Can java list be null?
What’s a deadlock?
What is scanner in java?
What is internal iteration in java se 8?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
how we can make a read-only class in java?
Is it possible to use string in the switch case?
What is regex java?
What is a java lambda expression?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
How does hashset works in java?
Why are parameters used in functions?