Sams Teach Yourself C in 21 Days

(singke) #1
child classes, 736
creating, 737-738
class libraries, 643
classes
constructors, 733-736
creating, 726-727
defining, 723-725
inheritance, 736-740
inheritance sample program, 739-740
method sample program, 728-730
methods, 727-728
overloading constructors, 734-736
overloading methods, 731-732
packages, 725
properties, 725
sample program, 726-727
exceptions, 743-745
Hello World program, 644
interpreter, 642
packages, 643, 725
parent classes, 736
creating, 737-738
platform independence, 642
programs
AppletTest.java, 761-763
class constructors, 733
ClassBasicsDemo.java, 726
displaying messages in windows, 749-750
drawing shapes onscreen, 751-753
MethodsDemo.java, 729
NumberList, 739-740
OverloadDemo.java, 731-732
overloaded constructor, 735-736
PopUpDemo.java, 756-758, 777
related to C/C++, 641
stand-alone applications
applets, compared, 759
text files
reading, 745-746
writing, 747-749

Java libraries, 749
Java Virtual Machine, 642
jitting, 772

K

keyboard input, 342
character input functions, 342-349
buffered character input functions, 342
echoing, 342
fgetc() function, 346
fgets() function, 348-349
getc() function, 346
getch() function, 344-346
getchar() function, 342-344
getche() function, 346
gets() function, 347-348
line-input functions, 347
unbuffered character input functions, 342
ungetc() function, 347
formatted input functions, 350-358
fflush() function, 355-356
scanf() function, 350-358
keywords, 8, 48, 789-791, 798
Abstract, 724
auto, 294
C#, 768-769
C++, 652
class, 674
classes, data access, 675
extern, 289, 598
Final, 724
in functions, 99
Java exceptions, 744
privacy, class definitions, 724
protected, 677
register, 295
return, 111

keywords 911

How can we make this index more useful? Email us at [email protected]

51 448201x-Index 8/13/02 11:23 AM Page 911

Free download pdf