In these “Java Notes PDF”, you will be able to create Java programs that leverage the object-oriented features of the Java language, such as encapsulation, inheritance and polymorphism; use data types, arrays and other data collections; implement error-handling techniques using exception handling, create and event-driven GUI using Swing components
The topics we will cover will be taken from the following list:
OOP Concepts: Data abstraction, encapsulation, inheritance, Benefits of Inheritance, Polymorphism, classes and objects, Procedural and object oriented programming paradigms.
Java Programming: History of Java, comments, Data types, Variables, Constants, Scope and Lifetime of variables, Operators, Operator Hierarchy, Expressions, Type conversion and casting, Enumerated types, Control flow- block scope, conditional statements, loops, break and continue statements, simple java stand alone programs, arrays, console input and output, formatting output constructors, methods, parameter passing, static fields and methods, access control, this reference, overloading methods and constructors, recursion, garbage collection, building strings, exploring string class.
Inheritance: Inheritance hierarchies super and sub classes, Member access rules, super keyword, preventing inheritance: final classes and methods, the Object class and its methods.
Polymorphism: Dynamic binding, method overriding, abstract classes and methods. Interfaces- Interfaces Vs Abstract classes, defining an interface, implement interfaces, accessing implementations through interface references, extending interface.
Inner classes: Uses of inner classes, local inner classes, anonymous inner classes, static inner classes, examples.
Packages: Defining, creating and accessing a package, Understanding CLASSPATH, importing packages.
Exception handling: Dealing with errors, benefits of exception handling, the classification of exceptions- exception hierarchy, checked exceptions and unchecked exceptions, usage of try, catch, throw, throws and finally, rethrowing exceptions, exception specification, built in exceptions, creating own exception sub classes.
Multithreading: Differences between multiple processes and multiple threads, thread states, creating threads, interrupting threads, thread priorities, synchronizing threads, inter-thread communication, producer consumer pattern,Exploring java.net and java.text
Collection Framework in Java: Introduction to java collections, Overview of java collection framework, Generics, Commonly used collection classes- Array List, Vector, Hash table, Stack, Enumeration, Iterator, String Tokenizer, Random, Scanner, Calendar and Properties
Files: Streams- Byte streams, Character streams, Text input/output, Binary input/output, random access file operations, File management using File class.
Connecting to Database: JDBC Type 1 to 4 drivers, Connecting to a database, querying a database and processing the results, updating data with JDBC.
GUI Programming with Java: The AWT class hierarchy, Introduction to Swing, Swing Vs AWT, Hierarchy for Swing components, Containers – Jframe, JApplet, JDialog, JPanel.
Overview of some Swing components – Jbutton, JLabel, JTextField, JTextArea, simple Swing applications, Layout management – Layout manager types – border, grid and flow.
Event Handling: Events, Event sources, Event classes, Event Listeners, Relationship between Event sources and Listeners, Delegation event model, Examples: Handling a button click, Handling Mouse events, Adapter classes.
Applets: Inheritance hierarchy for applets, differences between applets and applications, Life cycle of an applet, Passing parameters to applets, applet security issues.
Download Java Notes PDF
Java Handwritten Notes PDF Contributor: Tanya Garg College: KMV (DU)
TutorialsDuniya.com is a witty content portal that is optimized for college students which mainly focuses on Computer Science Subjects. Our aim to provide easily accessible and well organised quality content to all the students.