Explain the difference between map and flatmap stream operation?
what us Dyna action form?
4 Answers Aithent Technologies,
Explain the difference between treeset and treemap in java?
What is Transient and volatile
can you create interface instance ?
what do you mean by java annotations?
What is classname class in java?
What will happen if we declare don’t declare the main as static?
Difference between serialization and deserialization in java?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
what is net based application and its types
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.
Can we inherit a class with private constructor?