Skip to content

Module 2 Theory

AyanF edited this page Mar 10, 2023 · 6 revisions

Module - 2

Create a wiki page for each heading.

Java Fundamentals

  • Declarations and Access Controls
  • Declare Classes
  • Declare Interfaces
  • Declare Class Members
  • Constructors, Deconstructors
  • Access Modifiers (Public, Private, Protected)
  • Initialization Blocks
  • Arrays, Enums
  • Naming Conventions

OOPs

  • Encapsulation
  • Inheritance
  • Polymorphism
  • Overriding/Overloading

Operators

  • Instanceof
  • Conditional
  • Logical
  • Arithmetic

Control Flow Statements

  • For Loop
  • Enhanced For Loop
  • While Loop
  • Switch
  • Do Loop
  • Continue/Break
  • Labelled/Unlabelled Statements

Exceptions

  • Using Try-Catch and Try-with-Resource
  • Finally
  • Exception Hierarchy
  • Creating a custom Exception

Strings

  • String, StringBuilder and StringBuffer.
  • String manipulation and various methods on String class.
  • String and Memory

Dates

  • Working with Dates, TimeZone
  • Date Parsing, Conversion

Wrapper Classes

  • Using Wrapper Classes.
  • Creating Wrapper Objects.
  • Autoboxing
  • Wrapper Objects Conversion

Garbage Collection

  • Java Memory Management Overview

Collections and Generics

  • HashCode and Equals methods.
  • Collections classes.
  • Comparator and Comparable interfaces.
  • Collections Sorting
  • Generics

File IO

  • Understanding of various File related classes
  • Read/Write Files
  • Various IO Stream Classes and their usages.
  • Class Hierarchy of various File IO classes.

Java Stream API

  • Lambda Expressions
  • Functional Interfaces
  • SupplierConsumer and BiConsumer
  • Predicate and BiPredicate
  • Function and BiFunction
  • UnaryOperator and BinaryOperator
  • Using Java Streams with Collections.

Serialization

  • ObjectOutputStream and ObjectInputStream.
  • Object Graphs.
  • Using writeObject and readObject.

Inner Classes

  • Regular Inner Classes
  • Method-Local Inner Class
  • Anonymous Inner Class
  • Static Inner Class

Threads

  • Creating Threads and starting.
  • Thread States.
  • Sleep, notify, notifyAll, yield, join methods.
  • Synchronization.
  • Locks.
  • Thread Interaction.

Clone this wiki locally