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 9233class{ ... ... 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 8342class 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 20793
What is private static class in java?
Explain covariant method overriding in java.
When do we use hashset over treeset?
Explain purpose of sleep() method in java?
What is java util hashmap?
What are alternatives to java serialization?
Can we execute a program without main?
Explain the difference between throw and throws in java?
Can a method be overloaded based on different return type but same argument type?
What is jpa specification?
what type of questions asked for barclays technologies pune please send urgent
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is a stringbuilder?
Does treeset use compareto?
What is thread pool in java with example?