Answer Posted / ravikiran(aptech mumbai)
super class is the one which will declare members and
methods and will allow all the subclasses to make use of them.
sub class is the class which inherits the mebes and methods
from the super class and declares it's own members as well.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
what is the significance of listiterator in java?
Explain the difference between intermediate and terminal operations in java8?
What is the similarity between dynamic binding and linking?
Is 0 true or is 1 true?
Where will it be used?
What is lastindexof in java?
What do you understand by soft reference?
How can constructor chaining be done by using the super keyword?
Is object a data type?
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }
What does int argc char * argv [] mean?
What is the internal implementation of set in java?
How do you reverse a word in java?
What is the difference between normal report & matrix report?
What is a qms manual?