Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?
3 9127class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
2 8243class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
8 20570
What happens when a thrown exception is not handled?
Why are the destructors for base class and derived class called in reverse order when the program exits
What are packages in java?
How can you say java is object oriented?
What language is an assembler written in?
Why strings in java are called as immutable?
If you do not want your class to be inherited by any other class. What would you do?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Is there a sort function in java?
How to make a write-only class in java?
What is a file pointer?
What is nullpointerexception in java?
What does this () mean in constructor chaining concept?
What are the uses of java?
Is java free for businesses?