
Create and run a hello world Java program in Eclipse by building a new Java project, package, and class, and writing the main method with System.out.println for output.
Explore how Java arithmetic operators perform addition, subtraction, multiplication, division, and modulus on integer variables. See how a scanner reads two integers from keyboard input and prints the results.
Explore unary operators in Java, including unary minus, post and pre increment, and post and pre decrement, with part one and part two and boolean results.
Explore bitwise operators in java, including not (tilde), and, or, zod operation, and left and right shifts, demonstrated with byte values 12 and 10 and their binary representations.
Explore Java relational operators, including ==, <, <=, >, >=, and !=, by evaluating a boolean result and printing true or false outcomes.
Master Java conditional operators by exploring boolean variables, the or operator, and the and operator, and see how true and false outcomes are produced in practical examples.
Explore Java input and output techniques by using System.out.println and a PrintStream, and read data with a Scanner from keyboard, including integer input and string concatenation for output.
Learn to create Java strings from a character array using the String constructor, print results with System.out.println, and use a Scanner for input and string concatenation with plus.
Learn core Java string functions with in-built library methods, including length, equals, equals ignore case, charAt, startsWith, endsWith, indexOf, lastIndexOf, replace, substring, split, and trim.
Explore Java string buffer and string builder classes, including constructing with default and custom capacities, using append, insert, and reverse, and understanding how content evolves.
Explore how the static keyword in Java creates a single shared variable and static method, while non static members belong to each object, with class-based access demonstrated.
Explore how to define a Java class and create objects using a student example with name, id, and major, plus setters and a display method to print them.
Explore boolean datatype in Java by declaring boolean variables, assigning true and false, printing values, and understanding type mismatch errors when attempting to assign non-boolean values.
Learn how to use Java's char type, initialize with single quotes, print characters, and understand ASCII and Unicode codes, including U+0041 for capital A.
Explore the this keyword in Java by examining parameterized and non-parameterized constructors, using this to distinguish between instance variables and parameters, and initializing and displaying A and B.
Learn how to create and use user defined exceptions in Java, including extending exception, throwing when age under 18, and handling with try-catch using getMessage and printStackTrace.
Explain how Java switch case statements work by using a scanner to read a character and demonstrating case blocks for a, b, c, d, default, and the effect of break.
Explore Java arrays by defining and initializing int, float, and char arrays, using a scanner for input, and printing values with for loops and for-each loops across indices 0–4.
Learn to create a string array list, add cities like Delhi and Kolkata, insert Mumbai at index 2, and use a for-each loop to print the updated size and contents.
Demonstrate thread synchronization by showing how a synchronized block guards the send message call, ensuring only one thread enters the critical section at a time.
Learn to use a Java vector of integers by adding five items, printing the size and contents, inserting 100 at index three, and iterating with a for each loop.
Discover how Java packages organize code with a math package containing the my math class and operations like subtract, multiply, divide, and factorial via recursion, accessed from a package demo.
Explore java polymorphism through method overriding, where a base class animal is extended by dog and frog, overriding movement and calling super movement to show inheritance in action.
Explore the Java set interface and hash set behavior, showing how duplicates disappear as two sets are built and combined with union, intersection, and difference using addAll and removeAll.
Explains real type data in Java using float and double variables, shows 50.26 with f suffix, and demonstrates casting to float to reveal quotients and doubles like 22 yielding 3.14285714.
Learn how to use a Java stack: push integer wrapper objects, inspect the top with pick, check isEmpty, retrieve elements with pop, and track size until the stack is emptied.
Define and instantiate a Java queue using a linked list, add items with add, inspect the size, peek the front element, and remove items in queue order.
Explore Java abstract classes and abstract methods, and how subclasses implement unimplemented methods. See overriding and super calls with programmer and tester examples showing description and salary.
See how java polymorphism works through function overloading, with three area functions sharing the same name but different prototypes, and how input parameters, types, or order determine which one runs.
Define a student class that implements comparable and compares by rank. Insert five students into a priority queue, then poll them to print in ascending rank.
Explore java inheritance by modeling a base employee class with a protected salary, and derived developer and tester classes that combine salary and bonuses to compute total pay.
Explore Java linked lists by creating a list of integer wrapper objects, adding elements, printing size and contents, and inserting array elements with add all from a given index.
Explore how Java interfaces define contracts, extend and implement, and how default and static methods work. See abstract classes and interface usage through vehicle, bike, and car examples.
Extend the thread class to implement Java multithreading by overriding run. See how Thread.sleep with a for loop runs in parallel with the main thread, with interrupt handling.
Discover Java commenting techniques, including single line comments and block comments, and use Eclipse features like toggle comment to easily comment and uncomment code.
Understand Java hash map fundamentals, including null keys and values, and non-guaranteed order, by comparing to hash tables. See put, update, and containsKey operations in practical examples.
Explore Java functions, including user-defined and library functions, with prototypes, return types, static access, and recursion through examples like factorial and power calculations using Math.pow.
Explain how a Java hash table maps string keys to integer values with put and get, showing unique keys, value updates, and non-sequential storage order while printing the results.
Learn multithreading with the runnable interface by defining a class that implements Runnable, overrides run, prints thread IDs and values, and starts threads to show parallel execution.
Explore the Java final keyword, including final variables initialized in constructors, final methods that cannot be overridden, and final classes that cannot be extended, with class A and B demonstrations.
Define a string comparator by implementing the java.util.Comparator interface and its compare method, then sort an ArrayList of city names in ascending alphabetical order and print the results.
Demonstrates the Java continue statement within a while loop, skipping remaining code when a is between 5 and 10, printing values outside that range, and exiting the loop at 15.
Explore how the Java break statement exits an infinite while loop by printing an integer a from 0 to 10 and breaking when a equals ten.
Explore the Java for loop, including initialization, condition, and increment of the loop control variable, and see how summing 0 to 9 yields 45, with scope considerations.
Explore how the Java while loop sums numbers from 0 to 9 by initializing a and sum, updating sum each time, and exiting when a reaches 10, producing 45.
Learn Java file handling by reading from a file input stream and writing to a file output stream, character by character, with proper try, catch, and finally blocks.
Learn how to define and use constructors in Java, including parameterized and non-parameterized forms, initialize fields such as name, account number, and balance, and display account details.
Java exception handling using try, catch, and finally, demonstrate handling division by zero and number format errors, and compare multiple catches with a single generic catch.
Explore enumeration and an iterator in java by building and iterating over vector and linked list collections, using elements, addAll, and next element to traverse and print values.
Explore how Java wrapper classes work by creating Integer objects from primitives, using intValue and parseInt, and converting numbers to binary and hex strings for display.
Explore Java access specifiers and how default, public, private, and protected modifiers control access within the same package and through inheritance, using A, B, and C with constructors.
Explore built-in Java exceptions, including array index out of bounds, null pointer, and number format exceptions, with try-catch blocks showing remedial actions and string-to-integer conversions.
Why Learn Java?
Java is a general-purpose, versatile and popular programming language. It's great as a first language because it is concise and easy to read, and it is also a good language to have in any programmer's stack as it can be used for everything from web development to software development and scientific applications.
Take-Away Skills:
This course is a great introduction to both fundamental programming concepts and the Java programming language. By the end, you'll be comfortable programming in Core Java.
This Course is the first of a series of courses that make up the Core Java Specialization. The Core Java Specialization, in turn, is part of a series of programming specializations and designed to provide the skill set necessary to be hired as an IT developer using Java in many corporate environments. This course includes hands-on practice and will give you a solid knowledge of the Java language. After completing this course, you will be able to identify Java’s benefits, program in basic Java syntax using Java data types, and incorporate branches and loops. The audience for this course: - Anyone interested in learning Java - Programmers - Technical Managers - Application Developers
Topics Covered:
Module-1: Java Fundamentals
Basic Java Program
Compile and run a Java program
Understanding console output
Java Variables and Data Types
Java Operators
Conditional statements
Loops
Break and continue
Arrays
Single Dimensional array
Double Dimensional array
String Class
String methods
Module-2: Java OOPS Concepts
Classes and Objects
Java methods
Passing parameters to the methods
Call by value and call by reference
Java Constructor
Method Overloading
Constructor Overloading
this keyword
Static variables and methods
Java Inheritance
Method Overriding
super keyword
final keyword
Java Interfaces
Java Packages
Access Modifiers
Exception Handling
Array List
Hash Map
JDBC
See you Inside the course. Thank you