What is the difference between super class & sub class?
No Answer is Posted For this Question
Be the First to Post Answer
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
What is the static block?
Is string is a keyword in java?
How can you say HashMap is syncronized?
What are library required to connect to excel sheet.
Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?
If a class is declared without any access modifiers, where can the class be accessed?
What is variable explain with example?
Implement a stack with push (), pop() and min() in O(1) time.
What is consumer interface?
What is mnemonic code?
What ide should I use for java?