What are the access modifiers available in java?
No Answer is Posted For this Question
Be the First to Post Answer
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What are the object and class classes used for?
Do you know why doesn't the java library use a randomized version of quicksort?
Can we write a class without main method in java?
Why inputstreamreader is used in java?
Name the types of 'priority'?
How Marker Interfaces are instruct to complete the desired need ?
Why is the singleton pattern considered to be an anti pattern?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What does compareto () do in java?
String is a immutable objects . it means that string does not change........... But it will be chang......... { String s="kapil"; String s1="raj"; String s=s1; then print(.......) The String has been changed .. how it is possible and why its called immutable objects
Java does not support multiple inheritance. how interface helps in the same?