What Comprises the Internet? How does Internet Function? Software Development for Internet 2. Introduction To Java Features of Java The Java Virtual Machine Difference etween C!! and Java "arts of Java 3. First Step towards Java Programming #"I Document Startin$ a Java pro$ram Importin$ classes Formattin$ the %utput 3. Naming Conventions and ata T!pes &amin$ Conventions in Java Data T'pes in Java Inte$er Data T'pes Float Data T'pes Character Data T'pes Strin$ Data T'pes (oolean Data T'pes )iterals Inte$er )iterals Float )iterals Character )iterals Strin$ Data T'pes (oolean Data T'pes 4. "perators in Java #rithmetic %perators *nar' %perators Increment %perator+!!, Decrement %perator+--, #ssi$nment %perator .elational %perator )o$ical %perators (oolean %perators (itwise %perators Ternar' %perator or Conditional %perator+?/, instanceof %perator new %perator Cast %perator "riorit' of operators 5. Control Statements in Java if000else Statement do000while )oop while )oop for )oop &ested for )oops for-each )oop switch Statement rea1 Statement continue Statement return Statement 23amples on all these Control Statements #.Input and "utput #cceptin$ Input from the 1e'oard #cceptin$ a sin$le Character from the 4e'oard #cceptin$ a Strin$ from 4e'oard #cceptin$ an Inte$er value from the 4e'oard #cceptin$ an Float value from the 4e'oard #cceptin$ a Doule Value #cceptin$ %ther T'pes of Values #cceptin$ Different T'pes of Inputs in a )ine .eadin$ Inputs in 5ava0util0Scanner Class Displa'in$ output with S'stem0out0printf+, Displa'in$ Formatted %utput with Strin$0format $.Arra!s T!pes o% Arra!s Sin$le Dimensional #rra's+6D arra', Multi Dimensional #rra's+7D89D8000arra's, Three dimensional arra's+9D arra', #rra'name0len$th Command )ine #r$uments $. Strings Creatin$ Strin$s Strin$ Class Methods Strin$ Comparsion Immutailit' of Strin$s String&u%%er and String&uilder Creatin$ Strin$(uffer %5ects Strin$(uffer Class Methods Strin$(uilder Class Strin$(uilder Class Methods
'. Introduction to ""Ps "rolems in "rocedured %rineted #pproach Features of %5ect %riented "ro$rammin$ S'atems+%%"S, Class:o5ect 2ncapsulation #straction Inheritance "ol'morphism (). Classes and "b*ects %5ect Creation Initiali;in$ the Instance Variales #ccess Specifiers Constructors ((. +et,ods in Java Method Header or Method "rotot'pe Method (od' *nderstandin$ Methods Static Methods Static (loc1 The 1e'word <this= Instance Methods "assin$ "rimitive Data T'pes to Methods "assin$ %5ects to Methods "assin$ #rra's to methods .ecursion Factor' Methods 660-elations,ip &etween "b*ects -elating "b*ects using -e%erences Inner Class Anon!mous Inner Class (3.In,eritance Inheritance The 4e'oard <super= The "rotected Specifier T'pes of Inheritance Plo!morp,ism "lo'morphism with variales "lo'morphism usin$ Methods D'namic "lo'morphism Static "lo'morphism "ol'morphism with Static Methods "ol'morphism with "rivate Methods "ol'morphism with Final Methods Final Class T!pe Casting T'pes of Data T'pes Castin$ "rimitive Data t'pes Castin$ .eferenced Data T'pes >enerali;ation and Speciali;ation The o5ect Class Clonin$ the Class %5ects (.. Abstract Classes Abstract +et,od and Abstract Class Inter%aces Interface Multiple Inheritance usin$ Interfaces #stract classes VS Interfaces Packages "ac1a$e Different T'pes of "ac1a$es (uilt-in "ac1a$es *ser-defined "ac1a$es The J#. Files Interfaces in a "ac1a$es Creatin$ Su "ac1a$e in a "ac1a$e #ccess Specifiers in Java Creatin$ #"I Document (/. 01ception 2andling 2rrors in a Java "ro$ram 23ceptions 23ception Handlin$ Handlin$ Multiple 23ceptions Throws Clause T'pes of 23ceptions (uilt-in 23ceptions *ser Defined 23ceptions .e-throwin$ an 23ception .). 3rapper Classes Wrapper Classes &umer Class &umer Class Methods Character Class Important Methods of Character Class ('te Class Constructors Important methods of ('te Class Short Class Constructors Important methods of Short Class Inte$er Class Constructors Important methods of Inte$er Class )on$ Class Constructors Important methods of )on$ Class Float Class Constructors Important methods of Float Class Doule Class Constructors Important methods of Doule Class Doule Class Constructors Important methods of Doule Class Math Class Important methods of Math Class (3. Collection Frame 3ork *sin$ an #rra' to store a $roup of %5ects Collection %5ects Sets )ists ?ueues Maps .etrievin$ 2lements from Collections For-each )oop Iterator Interface )istIterator Interface 2numeration Interface HashSetClass Hashset Class Methods )in1edHashSet Class )in1edHashSet Class Methods #rra')ist Class #rra')ist Class Methods Vector Class Vector Class Methods HashMap Class HashMap Class Methods HashTale Class HashTale class Methods #rra' Class #rra's Class Methods *sin$ Comparator to Sort an #rra' Strin$To1eni;er Class Strin$To1eni;er Class methods Calendar Class Calendar Class Methods Calendar Class Methods Date Class (4. Streams and Files Creatin$ a file usin$ File%utputStream Improvin$ 2fficienc' usin$ (uffered%utputStream .eadin$ Data from a File usin$ FileInputStream Creatin$ a File usin$ FileWriter .eadin$ a File usin$ File .eader @ippin$ and *n;ippin$ Files @ippin$ a File usin$ Deflater%utputStream *n;ippin$ a File usin$ InflaterInputStream Seriali;ation Countin$ a no of characters in a File File Cop' File Class File Class Methods &etwor1in$ in Java TC":I" "rotocol *ser Data$ram "rotocol +*D", Soc1ets 4nowin$ I" #ddress Creatin$ a Server that sends Data Creatin$ a Client that .eceives Data Two-wa' Communication (etween Server and Client .etrievin$ a file at Server (5. J&C6Java atabase Connectivit!7 Wor1in$ with M'S?) Dataase