Answer Posted / amna arslan
*SUPER CLASS ENTITY*
the class from which another class is derived is called super class.
it also called a base class.
the older one is called a super class.
super class is a simple class.
*SUB CLASS ENTITY*
the class which is derived from super class is called sub class.
it is also called a derived class.
the newer one is called a sub class.
sub class is a class that inheritance from super class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is local declaration?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is application tier?
Explain different types of wrapper classes in java?
What is the difference between java applets and applications?
What are keywords in programming?
How do you make an arraylist empty in java?
Difference between this() and super() ?
How does arraylist work in java?
When we serialize an object does the serialization mechanism saves its references too?
What do you mean by jjs in java8?
how do I create a runnable with inheritance? : Java thread
What is a double vs float?
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 is the purpose of assert keyword used in jdk1.4.x?