Can we change the scope of the overridden method in the subclass?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between public, private, protected, and friend access?
What restrictions are placed on method overriding?
What is meant by distributed application? Why are we using that in our application?
Is java code slower than native code?
What is multithreading in java?
why use interface? if interface declear a method implement in class. why direct implement method in class
What is math in java?
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thru the Hashmap, it loses the original alphabetical sorting done by the database. So, my problem is that I must sort the results coming out of the Hashmap which is then placed into another class.
What are different types of encoding?
Is oracle java 11 free?
Is string a class?