plz help me in getting the points i'am missing to find why this code does not compile? class SuperBase { } class Base extends SuperBase { }...
With reference to the code below can u tell me when and how accept() method of FilenameFilter is called,and from where parameter of accept()...
1.what does enumeration do in collection framework and how? 2.how does comparator do the required ordering of objects in Collection?
import java.util.*; class Gclaendar extends GregorianCalendar { String toString() { return "hi...."; } } class...
first thing,it's multiplatform i.e the same bytecode is going to work well in all systems so it has to be pointer independent,secondly java is...
#define pro(X) (X*X) main() { int i=3,j,k; j=pro(i++); k=pro(++i); printf("\n%d %d",j,k); getch(); } output is 9 49 can any one...
it's fine that %d and %f are for integer and float,but can u tell why we get such an output....
main() { float x=1.0; int y=3; printf("x=%d",x); printf("\ny=%f",y); } output: x=0 y=285737.000011(why this unexpected output?)...
i want to get the print of enumuration constants that has been defined in current enumeration in C language.how?
Separate names with a comma.