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 7952class{ ... ... 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 7368class 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 18353
Say any two properties in beans?
How to read and write image from a file ?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is character in data type?
How do you add an element to a hashset in java?
What is the finalize method do?
What is collection api?
What is return in java?
What is treemap in java?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
Can we create object of static class?
Which collection does not allow duplicates in java?
When can an object reference be cast to an interface reference in java programming?
What is the primitive type byte?
Which is easier netbeans or eclipse?