19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Index 811<br />

Vertical scroll bars, 656<br />

Vertical sliders, 657, 659<br />

Vertical text position, 470–471<br />

Virtual machines (VMs), 21. see also JVM (<strong>Java</strong> Virtual Machine)<br />

Visibility (accessibility) modifiers<br />

classes and, 317–319<br />

protected, public, and private, 437–440<br />

Visual Basic, high-level languages, 11<br />

VLSI (very large-scale integration), 738<br />

VMs (virtual machines), 21. see also JVM (<strong>Java</strong> Virtual<br />

Machine)<br />

void method<br />

defined, 179<br />

defining and invoking, 183<br />

TestVoidMethod.java, 183<br />

W<br />

WAV file, 693<br />

Web, reading file data from, 551–552<br />

Web browsers<br />

controlling applet execution and life-cycle, 677<br />

viewing applets, 674–675<br />

Web servers, developing apps on, 628<br />

while loops<br />

case study: guessing numbers, 137–139<br />

case study: multiple subtraction quiz, 139–141<br />

case study: predicting future tuition, 157<br />

deciding when <strong>to</strong> use, 150–151<br />

design strategies, 139<br />

do-while loop. see do-while loop<br />

input and output redirections, 143–144<br />

overview of, 134–136<br />

RepeatAdditionQuiz.java example, 136–137<br />

sentinel-controlled, 141–143<br />

syntax of, 134<br />

Whitespace<br />

characters, 69<br />

as delimiter in <strong>to</strong>ken reading methods, 546–547<br />

Wildcard import, 24<br />

Windows. see Frames (windows)<br />

Windows, multiple<br />

His<strong>to</strong>gram.java, 662–664<br />

MultipleWindowsDemo.java, 661–662<br />

overview of, 660–661<br />

Windows class, 447<br />

Windows OSs, 12<br />

Wireless networking, 8<br />

Wrapper classes<br />

au<strong>to</strong>matic conversion between primitive types and wrapper<br />

class types, 396–397<br />

File class as, 541<br />

numeric, 585<br />

primitive types and, 350, 393–396<br />

Wrapping lines of text or words, 644, 646<br />

Write-only streams, 729. see also OutputStream class<br />

X<br />

XListener/XEvent listener interface, 603–604

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!