What are parent methods and how can you call them?
Answers were Sorted based on User's Feedback
Answer / saumyadip
parent methods are those method which is in parent class and
we can call it by using parant class reference variable or
super(in inheritance).
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bhadresh
super class method is call as parent method.
super Keyword use to call in child class or sub class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the benefits of immutable objects?
What is the map interface in java programming?
84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.
Why do inner class cannot have static declaration except static nested class?
What is local variable and instance variable?
How many tetrahedral voids are there in bcc?
How can we create objects if we make the constructor private ?
Explain the difference between the Boolean & operator and the && operator?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
Is arraylist sorted in java?
What is default constructors?
what is auto boxing