MLRInstituteofTechnology
OBJECTORIENTEDPROGRAMMING
[Link]-ISEMESTER
CourseCode Category Hours/Week Credits MaximumMarks
L T P C CIE SEE Total
A5IT01 PCC
3 1 - 4 30 70 100
COURSEOBJECTIVES:
Thecourseshouldenablethestudentsto:
1. Understandthebasicobjectorientedprogrammingconceptsandapplytheminproblemsolving.
2. Illustrateinheritanceandpolymorphismconceptsforreusingtheprogram.
3. Demonstrateontheexceptionhandlingmechanism
4. Demonstrateonthemulti-taskingbyusingmultiplethreads.
5. Developdata-centricapplicationsusingJDBC.
6. Understandthebasicsofjavacollectionframework.
COURSEOUTCOMES:
Attheendofthecourse,Studentswillbeable to:
1. Useobjectorientedprogrammingconceptstosolverealworldproblems.
2. Demonstratetheuserdefinedexceptionsbyexceptionhandlingkeywords(try,catch,throw,
throws andfinally).
3. Usemultithreadingconceptstodevelopinterprocesscommunication.
4. Developjavaapplicationtointeractwithdatabasebyusingrelevantsoftware
component(JDBC Driver).
5. SolverealworldproblemsusingCollections.
UNIT-I JAVABASICS CLASSES:15
JAVA BASICS: Review of Object oriented concepts, History of Java, Java buzzwords, JVM architecture,
Data types, Variables, Scope and life time of variables, arrays, operators, control statements, type
conversionandcasting,simplejavaprogram,constructors,methods,Staticblock,StaticData,Static
MethodStringandStringBufferClasses,UsingJavaAPIDocument
UNIT-II INHERITANCE,POLYMORPHISM,PACKAGESANDINTERFACES CLASSES:15
INHERITANCE AND POLYMORPHISM: Basic concepts, Types of inheritance, Member access rules,
UsageofthisandSuperkeyword,MethodOverloading,Methodoverriding,Abstractclasses,Dynamic method
dispatch, Usage of final keyword.
PACKAGESANDINTERFACES:Definingpackage,Accessprotection,importingpackages,Defining
andImplementinginterfaces,andExtendinginterfaces.
UNIT-III EXCEPTIONHANDLINGANDFILES CLASSES:12
EXCEPTION HANDLING: Exception types, Usage of Try, Catch, Throw, Throws and Finally
keywords,Built-in Exceptions, Creating own Exception classes.
I/OSTREAMS ANDFILES:Conceptsofstreams,Streamclasses-ByteandCharacterstream,Reading
consoleInputandWritingConsoleoutput,FileHandling.
UNIT-IV MULTITHREADINGANDJDBC CLASSES:12
MULTITHREADING:ConceptsofThread,Threadlifecycle,creatingthreadsusingThreadclassand Runnable
interface, Synchronization, Thread priorities, Inter Thread communication.
JDBC-ConnectingtoDatabase-JDBCType1to4drives,connectingtoadatabase,queryinga database and
processing the results, updating data with JDBC.
[Link]-ComputerScienceandEngineering–DataScience-MLR20 Page66
MLRInstituteofTechnology
UNIT-V COLLECTIONFRAMEWORK CLASSES:10
COLLECTION FRAMEWORK: Introductionto JavaCollections, Overview ofJavaCollection framework,
Generics,CommonlyusedCollectionclasses-ArrayList,Vector,Hashtable,Stack,Enumeration,
Iterator,StringTokenizer,Random,Scanner,calenderandProperties
TEXTBOOKS:
1. HerbertSchildtandDaleSkrien,”JavaFundamentals–AcomprehensiveIntroduction”, McGraw Hill,
1stEdition,2013.
2. HerbertSchildt,“Javathecompletereference”,McGrawHill,Osborne,7thEdition,2011.
3. [Link], “Understanding Object- Oriented Programming with Java”, Pearson Education, Updated
Edition (New Java 2 Coverage),1999.
REFERENCEBOOKS:
1. [Link],“JavaHowtoprogram”,PrenticeHall,6thEdition,2005.
2. [Link],“ObjectOrientedprogrammingthroughJava”,CRCPress,1stEdition,2007.
3. [Link],“ProgramminginJava”,OxfordUniversityPress,2ndEdition,2014.
[Link]-ComputerScienceandEngineering–DataScience-MLR20 Page67