i
Understanding Requirement: Why Java
Why Java is important to the Internet
Java On Linux
First Java Program
Java Virtual Machine Architecture
Class Loading Process by Class Loaders
Role Of Just In Time Compiler
Execution Engine
Data Types
Variables
Arrays
Operators
Arithmetic Operations
Shifting Operators
Logical Operators
Control Statements
Object Oriented Paradigms
The Three OOP principles
Looping Statements
JAVA Class Fundamentals
Command Line Arguments
Static Initialize
Creating an Object
Instance Variable Hiding
Overriding and Overloading of methods
Understanding The Access Controls
Nested And Inner Classes
Dynamic Method Dispatching
Abstract Classes
Using Final To Prevent Overriding & Inheritance
Garbage Collection
Defining a package
Understanding Classpath
Access Protection
Importing packages
Defining and Implementing An Interface
Abstract classes vs Interfaces
Generics
Annotations
Varargs
Foreach
Fundamentals Of Exception Handling
Types Of Exceptions
Learning exception handling, try-catch, multiple catch clauses
Nested Try Statements
Throw, Throws and Finally
Custom Exceptions
Java Thread Model
Creating A Thread
Context Switching
Synchronization: Methods And Statements
Inter-thread Communication
Logical and “&&” is operators which give us value true if both sides of operands are true. In case, if first operand is false, it will never check the second operand and gives us false. But there is also bitwise and operator “&” which always checks both operands, even if first operand is false.
Logical or “||” is operators which give us value true if at least one operand is true. In case, if first operand is true, it will never check the second operand and gives us true. But there is also bitwise or operator “|” which always checks both operands, even if first operand is true.
Operator |
First Operand |
Second Operand |
Result |
&& |
true |
true |
true |
&& |
true |
false |
false |
&& |
false |
false |
false |
|| |
true |
true |
true |
|| |
true |
false |
true |
|| |
false |
false |
false |
Don't miss out!