What are null interfaces in JAVA ? and give me some
examples?
Answer Posted / devesh dashora
null interface is such which have no abstract methods
declaration in interface definition. For Ex. Clonable
interface.
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Why 1 is not a prime number?
How do you generate random numbers in java?
What is a double vs float?
How do you declare a destructor 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 a java class.
What is the memory leak in java?
What is a substring of a string?
What is the difference between sleep and wait in java?
What are the advantages of exception handling?
How many bits is a double?
Why pointers are not used in java?
What is flush () in java?
What is the purpose of a parameter?
What is application tier?