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 14127why 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 4111Scenario: 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 8166public 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 4596I 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 6034
What is are packages?
Who developed java?
What is another word for methodology?
How do you calculate square roots?
What is the difference between JDK and JVM?
What is default size of arraylist in java?
What are the different types of java?
What is the difference between scrollbar and scrollpane?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is array in java?
what is bmg file and how to create that files?what will it contailn?
What is sorting algorithm in java?
when to use ArrayList and when to use HashMap in webApplication.
Explain creating threads by extending thread class ?
What is vector?