« first day (2322 days earlier)      last day (106 days later) » 

10:46 AM
And the sub class?
Can you inherit from multiple interfaces in Java?
 
those are real simple questions
cant you just google them
instead of asking the most basic stuff ?
 
I can't find them
 
took me 5 seconds
 
That one's fine, but the subclass one I can't
 
24
Q: Multiple inheritance on Java interfaces

Jacob WallaceI thought multiple inheritance was always illegal in Java, but this code compiles: public interface A { void a(); } public interface B { void b(); } public interface AB extends A, B { } Would having an empty interface such as AB be considered a bad practice? Is there a way to achieve som...

 
10:54 AM
But it doesn't mention whether a Sub-Class inherits both Methods & Properties
and if it can add both Methods & Properties
Or just one of them
 
14 messages moved from Java
1 message moved to Java
 
 
7 hours later…
6:22 PM
hi all,
runtime of map.containsKey()
?
any idea
we dont take this while considering any asmptotic algo but there as to be some
i am talking aboy hashmap
 
 
1 hour later…
7:51 PM
35
Q: What is the time complexity of HashMap.containsKey() in java?

HosseinI need to know: What is the time complexity of HashMap.containsKey() in java?

Runtime depends on specs of the system the program is running on as well
 
7 messages moved from Java
 

« first day (2322 days earlier)      last day (106 days later) »