what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this
Answer Posted / bhumika
interface can use public and default.and
abstract classes can use all of them including private.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to overcome the exception object reference not set to an instance of object?
Explain the differences between abstraction and encapsulation?
What is unicode full form?
Write a program to print 15 random numbers using foreach of java 8?
Which data type is a class in java?
What is implicit object in java?
Variable of the boolean type is automatically initialized as?
What is an example of declaration?
How does arrays sort work in java?
Explain creating threads by implementing runnable class?
What is Mutex (Mutual Exclusion Object) ?
What are keyboard events?
What is collections framework?
What is the difference between keyword and identifier?
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.