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


Please Help Members By Posting Answers For Below Questions

Why 1 is not a prime number?

563


How do you generate random numbers in java?

520


What is a double vs float?

538


How do you declare a destructor in java?

512


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; }

1851






Define a java class.

811


What is the memory leak in java?

530


What is a substring of a string?

567


What is the difference between sleep and wait in java?

517


What are the advantages of exception handling?

558


How many bits is a double?

534


Why pointers are not used in java?

581


What is flush () in java?

560


What is the purpose of a parameter?

531


What is application tier?

534