Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Object Oriented Programming with Java
Rating: 4.3 out of 5(111 ratings)
575 students

Object Oriented Programming with Java

Learn Java programming in easy steps from begining to advanced with example based training approach
Created bySamir Thakkar
Last updated 8/2022
English

What you'll learn

  • Basic programming with java (Java Architecture, Tokens, Data types, Operators, Conditional and Looping statements)
  • Object oriented programming with java using object oriented concepts
  • Advanced java programming using exception handling, multithreading, file handling and graphical applicaions
  • Array
  • Classes and Objects - Creating Classes and Objects, Constructors, Method overloading, "this" Reference, Garbage Collection
  • Inheritance - Implementing Inheritance, Method overriding, "final" Keyword, Abstract Classes and Methods, Dynamic Binding
  • Language Specific Features - "static" Keyword, Wrapper Classes, Package, Interface
  • Exception Handling
  • Multithreading - Creating Threads, Thread Life Cycle, Priorities, Method Synchronization, Thread Methods
  • GUI Applications with Swing - TextField, Button, Radio Button, Scrollbar, Layout Managers
  • Event handling in GUI Applications
  • Applets
  • Working with Files using Streams

Course content

10 sections97 lectures10h 24m total length
  • Introduction1:47
    • Java is an object oriented programming language developed by James Gosling at Sun Microsystems. Initially the language was known as oak, which later turned to name "JAVA".

    • It is used on varieties of devices like Desktop PCs, Mobile Devices, Televisions, Setup Boxes, Disc Players, etc.

  • Concepts of Object Oriented Programming12:08
    • Class

    -> A blueprint to create an object

    -> A template to represent a collection of objects

    • Object

    -> Basic unit of object oriented programming which bundles data (properties) and functions that operate on that data.

    -> An instance of a class

    • Data Encapsulation

    -> Combining properties and methods together as a single unit is called encapsulation.


    • Data Abstraction

    -> An act of taking essential details only and eliminating background details which are of no interest.


    • Polymorphism

    -> An ability to take more than one form


    • Inheritance

    -> Acquiring properties and methods from another class is called inheritance


    • Data hiding

    -> Protecting data (properties) available inside a class from outside world

  • Features of Java4:40
    • Object Oriented

    -> Software is divided into small parts called objects

    -> Includes object oriented concepts
    –Class

    –Object

    –Encapsulation

    –Data Abstraction

    –Polymorphism

    –Inheritance

    –Data hiding


    • Platform Independent

    -> Java code is compiled by the compiler and converted into bytecode

    -> This bytecode is a platform independent code because it can be run on multiple platforms i.e. Write Once and Run Anywhere(WORA)
    -> Java code can be run on multiple platforms e.g. Windows, Linux, Sun Solaris, Mac/OS etc.

    • Secure

    -> Java doesn’t support pointers

    -> Java programs runs on its own runtime environment

    • Robust

    -> Java has exception handling mechanism

    -> Java uses strong memory management features like garbage collection

    • Multithreaded

    -> A thread is a unit of a program which can be executed independently

    -> Java programs can deal with many tasks by running multiple threads in parallel.

    • Simple

    -> Syntax derived from c/c++

    -> Easy to learn

  • Architecture of Java4:21
  • Creating First Java Program7:25

    Try Yourself...

    1. Write a java program to print your name and address.

  • Java vs C++5:07

    Java vs C++

    • Java does not support pointer, while C++ supports pointer

    • No global data or functions in Java. Everything must be in a class, while in C++ global data and functions are available

    • Java does not support operator overloading, while C++ supports operator overloading

    • Java has built in support for multithreading, while C++ has no built in support for multithreading

    • Java generates bytecode which is platform independent, while C++ generates object code which may not run on different platforms

    • In Java member functions are defined within a class, while in C++ member functions can be defined either within the class or outside the class

    • Java does not support multiple inheritance, while C++ does

    • Java does not support preprocessor directives (for e.g. macro), while C++ supports preprocessor directives

    • Default arguments are not supported in Java, while C++ supports default arguments

    • Java has built-in support for documentation, while C++ has no support for documentation

    • Java does not have destructors. It supports garbage collection, while C++ uses destructors for removing objects

Requirements

  • Basic knowlwdge of Computers

Description

Learn Java programming in easy steps with example demonstrations. The course starts with fundamental concepts of object oriented programming. Then it teaches basic programming in Java followed by object oriented programming concepts. Having learned object oriented programming, It moves ahead to robust programming with exception handling and teaches concurrent programming using multithreading.

Moving to advanced level graphical applications with swing library, event handling, applets and file handling are discussed.

Who this course is for:

  • Beginner and intermidiary programmers who want to learn Object Oriented Programming