is memory to the abstract class allocated ..or objects not
instantiated
Answer Posted / rishu
but according to my understanding ,objects of abstract
variables are create but memory can't be allocated as.the
memory of this points to null..we can say tht.objects of
abstract class can't be created.. am i right?
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is binary tree in java?
Is java developer a good career?
Explain what are final variable in java?
What does replaceall do in java?
Why is stringbuffer not immutable?
Why string is not thread safe?
Why is the singleton pattern considered to be an anti pattern?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is the difference between arraylist and hashset in java?
What does int [] mean in java?
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; }
Define inheritance with reference to java.
What do you mean by synchronized non access modifier?
What does the “final” keyword mean in front of a variable? A method? A class?
What is java and its types?