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 } }
3 14013why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?
2 4024Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
4 8022public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why
2 4518I need help please send me reply: Write a program "if given a string like 'HAT', the combination's returned should be like ATH,THA,TAH in java"?
4 5905
Is treeset sorted in java?
Can we have a try block without catch block?
How would you use Bubble Sort to sort the number of elements?
what is nested class in java?
Explain about exception propagation?
What is better- service oriented or batch oriented solutions?
What does t in java mean?
Explain yield() method in thread class ?
What is the exception hierarchy in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
what is the difference between future and callable interface in java?
What is the super void?
Is Constructor possible in abstract class in java ?
How can u increase the heap size in the memory?
What is the difference between logical data independence and physical data independence?