The document provides an overview of the Java programming language including:
1) An 8-module Java review course curriculum covering Java basics, OOP concepts, interfaces, exceptions handling and a final project.
2) Key concepts of Java including it being an object-oriented platform, the Java Runtime Environment (JRE), Java Development Kit (JDK), Java Virtual Machine (JVM), bytecode, and garbage collection.
3) How Java works by compiling code to bytecode, interpreting bytecode using the JVM, and optionally using a just-in-time compiler to directly execute on the processor.
Chapter 01 Introduction to Java by Tushar B KuteTushar B Kute
The lecture was condcuted by Tushar B Kute at YCMOU, Nashik through VLC orgnanized by MSBTE. The contents can be found in book "Core Java Programming - A Practical Approach' by Laxmi Publications.
Chapter 01 Introduction to Java by Tushar B KuteTushar B Kute
The lecture was condcuted by Tushar B Kute at YCMOU, Nashik through VLC orgnanized by MSBTE. The contents can be found in book "Core Java Programming - A Practical Approach' by Laxmi Publications.
In the Java programming language, the final keyword is used in several different contexts to define an entity that can only be assigned once. Once a final variable has been assigned, it always contains the same value.
In this you learn about
--Constructors in Java
--Types of Constructors
1. Default Constructor
2. Parameterized Constructor
Difference between Constructor and Method
OOPS in java | Super and this Keyword | Memory Management in java | pacakages...Sagar Verma
OOPS and its application in Java, Super class AND This Keyword,Java Bean, POJO ,Memory management in Java ,Packages ,Miscellaneous (Var-Args, toString(), Double equals operator(==))
it covers the following topics:
Java Evolution
Overview
Constants, variables & data types
Operators and expressions
Decision making and branching
Decision making and looping
Classes, objects & methods
Arrays, Strings and Vectors
Interface
Packages
Multi-threading
Managing errors and exceptions
Applet programming
the program in the below link
https://drive.google.com/open?id=0B4tMuSViaMcVLUxqVV9HY3ZDZkU
the name of progam that use in the slide with a hint in the up-right of the slide
static keyword
oop
In the Java programming language, the final keyword is used in several different contexts to define an entity that can only be assigned once. Once a final variable has been assigned, it always contains the same value.
In this you learn about
--Constructors in Java
--Types of Constructors
1. Default Constructor
2. Parameterized Constructor
Difference between Constructor and Method
OOPS in java | Super and this Keyword | Memory Management in java | pacakages...Sagar Verma
OOPS and its application in Java, Super class AND This Keyword,Java Bean, POJO ,Memory management in Java ,Packages ,Miscellaneous (Var-Args, toString(), Double equals operator(==))
it covers the following topics:
Java Evolution
Overview
Constants, variables & data types
Operators and expressions
Decision making and branching
Decision making and looping
Classes, objects & methods
Arrays, Strings and Vectors
Interface
Packages
Multi-threading
Managing errors and exceptions
Applet programming
the program in the below link
https://drive.google.com/open?id=0B4tMuSViaMcVLUxqVV9HY3ZDZkU
the name of progam that use in the slide with a hint in the up-right of the slide
static keyword
oop
What Is Salesforce CRM? | Salesforce CRM Tutorial For Beginners | Salesforce ...Edureka!
This Salesforce CRM tutorial will take you through what is Salesforce CRM, benefits of Salesforce CRM, how CRM works, along with Salesforce CRM demo and use case. This Salesforce training slides is ideal for beginners to learn CRM.
This is a beginner-level programming session where you will learn the fundamentals of Java. Between each lesson, you'll have skill testing in the form of quizzes, as well as hands-on experience in the field.
Java is a high level, an object oriented and mostly used programming language. It has several applications as in web development, app development, android development etc. This is a ppt that will give a basic idea about java its uses and its applications.
This is the first part (out of two) about basics of JavaScript.
01 What is Dynamic HTML?
02 What is JavaScript?
03 How to JavaScript?
04 JavaScript Syntax
05 JavaScript Basics
06 Conditional Statements
What to learn during the 21 days Lockdown | EdurekaEdureka!
Register Here: https://resources.edureka.co/21-days-learning-plan-webinar/
In light of the complete national lockdown for 21 days, we invite you to join a FREE webinar by renowned Mentor and Advisor, Nitin Gupta as he helps you create a 21-day learning gameplan to maximize returns for your career.
The webinar will help freshers and experienced professionals to capitalize on these 21 days and figure out the best technologies to learn while confined to home.
You will also get all your questions and doubts resolved in real-time.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Meetup: https://www.meetup.com/edureka/
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
YouTube Link: https://youtu.be/LSM7hD6GM4M
Get Edureka Certified in Trending Programming Languages: https://www.edureka.co
In this highly competitive IT industry, everyone wants to learn programming languages that will keep them ahead of the game. But knowing what to learn so you gain the most out of your knowledge is a whole other ball game. So, we at Edureka have prepared a list of Top 10 Dying Programming Languages 2020 that will help you to make the right choice for your career. Meanwhile, if you ever wondered about which languages are slated for continuing uptake and possible greatness, we have a list for that, too.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
YouTube Link: https://youtu.be/eEwq_mPd1iI
Edureka BI Certification Training Courses: https://www.edureka.co/bi-and-visualization-certification-courses
Receiving insights and finding trends is absolutely critical for businesses to scale and adapt as the years go on. This is exactly what business intelligence does and the best thing about these software solutions is that their potential uses are practically unlimited.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Tableau Tutorial for Data Science | EdurekaEdureka!
YouTube Link:https://youtu.be/ZHNdSKMluI0
Edureka Tableau Certification Training: https://www.edureka.co/tableau-certification-training
This Edureka's PPT on "Tableau for Data Science" will help you to utilize Tableau as a tool for Data Science, not only for engagement but also comprehension efficiency. Through this PPT, you will learn to gain the maximum amount of insight with the least amount of effort.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link:https://youtu.be/CVv8zhYEjUE
Edureka Python Certification Training: https://www.edureka.co/data-science-python-certification-course
This Edureka PPT on 'Python Programming' will help you learn Python programming basics with the help of interesting hands-on implementations.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link:https://youtu.be/LvgqSMlIXFs
Get Edureka Certified in Trending Project Management Certifications: https://www.edureka.co/project-management-and-methodologies-certification-courses
Whether you want to scale up your career or are trying to switch your career path, Project Management Certifications seems to be a perfect choice in either case. So, we at Edureka have prepared a list of Top 5 Project Management Certifications that you must check out in 2020 for a major career boost.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Top Maven Interview Questions in 2020 | EdurekaEdureka!
YouTube Link: https://youtu.be/5iTcAR4fScM
**DevOps Certification Courses - https://www.edureka.co/devops-certification-training***
This video on 'Maven Interview Questions' discusses the most frequently asked Maven Interview Questions. This PPT will help give you a detailed explanation of the topics which will help you in acing the interviews.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/xHUiYEIcY_I
** Linux Administration Certification Training - https://www.edureka.co/linux-admin **
Linux Mint is the first operating system that people from Windows or Mac are drawn towards when they have to switch to Linux in their work environment. Linux Mint has been around since the year 2006 and has grown and matured into a very user-friendly OS. Do watch the PPT till the very end to see all the demonstrations.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
How to Deploy Java Web App in AWS| EdurekaEdureka!
YouTube Link:https://youtu.be/Ozc5Yu_IcaI
** Edureka AWS Architect Certification Training - https://www.edureka.co/aws-certification-training**
This Edureka PPT shows how to deploy a java web application in AWS using AWS Elastic Beanstalk. It also describes the advantages of using AWS for this purpose.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link:https://youtu.be/phPCkkWT76k
*** Edureka Digital Marketing Course: https://www.edureka.co/post-graduate/digital-marketing-certification***
This Edureka PPT on "Top 10 Reasons to Learn Digital Marketing" will help you understand why you should take up Digital Marketing
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/R132INtDg9k
** RPA Training: https://www.edureka.co/robotic-process-automation-training**
This PPT on RPA in 2020 will provide a glimpse of the accomplishments and benefits provided by RPA. Also, it will list out the new changes and technologies that will collaborate with RPA in 2020.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/mb8WOHejlT8
**DevOps Certification Courses - https://www.edureka.co/devops-certification-training **
This PPT shows how to configure Jenkins to receive email notifications. It also includes a demo that shows how to do it in 6 simple steps in the Windows machine.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
EA Algorithm in Machine Learning | EdurekaEdureka!
YouTube Link: https://youtu.be/DIADjJXrgps
** Machine Learning Certification Training: https://www.edureka.co/machine-learning-certification-training **
This Edureka PPT on 'EM Algorithm In Machine Learning' covers the EM algorithm along with the problem of latent variables in maximum likelihood and Gaussian mixture model.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/Zsl7ttA9Kcg
PGP in AI and Machine Learning (9 Months Online Program): https://www.edureka.co/post-graduate/machine-learning-and-ai
This Edureka PPT on "Cognitive AI" explains cognitive computing and how it helps in making better human decisions at work. Also, it explains the differences between cognitive computing and artificial intelligence.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/0djPrlaxx_U
Edureka AWS Architect Certification Training - https://www.edureka.co/aws-certification-training
This Edureka PPT on AWS Cloud Practitioner will provide a complete guide to your AWS Cloud Practitioner Certification exam. It will explain the exam details, objectives, why you should get certified and also how AWS certification will help your career.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Blue Prism Top Interview Questions | EdurekaEdureka!
YouTube Link: https://youtu.be/ykbRdUNIbyQ
** RPA Training: https://www.edureka.co/robotic-process-automation-certification-courses**
This PPT on Blue Prism Interview Questions will cover the Top 50 Blue Prism related questions asked in your interviews.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/ge4qhkl9uKg
AWS Architect Certification Training: https://www.edureka.co/aws-certification-training
This PPT will help you in understanding how AWS deals smartly with Big Data. It also shows how AWS can solve Big Data challenges with ease.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
YouTube Link: https://youtu.be/amlkE0g-YFU
** Artificial Intelligence and Deep Learning: https://www.edureka.co/ai-deep-learni... **
This Edureka PPT on 'A Star Algorithm' teaches you all about the A star Algorithm, the uses, advantages and disadvantages and much more. It also shows you how the algorithm can be implemented practically and has a comparison between the Dijkstra and itself.
Check out our playlist for more videos: http://bit.ly/2taym8X
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Kubernetes Installation on Ubuntu | EdurekaEdureka!
YouTube Link: https://youtu.be/UWg3ORRRF60
Kubernetes Certification: https://www.edureka.co/kubernetes-certification
This Edureka PPT will help you set up a Kubernetes cluster having 1 master and 1 node. The detailed step by step instructions is demonstrated in this PPT.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
YouTube Link: https://youtu.be/GJQ36pIYbic
DevOps Training: https://www.edureka.co/devops-certification-training
This Edureka DevOps Tutorial for Beginners talks about What is DevOps and how it works. You will learn about several DevOps tools (Git, Jenkins, Docker, Puppet, Ansible, Nagios) involved at different DevOps stages such as version control, continuous integration, continuous delivery, continuous deployment, continuous monitoring.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
3. What is Java ?
• Java
- Java is not just a programming language but it is a complete
platform for object oriented programming.
• JRE
- Java standard class libraries which provide Application
Programming Interface and JVM together form JRE (Java Runtime
Environment).
• JDK
- JDK (Java development kit) provides all the needed support for
software development in Java.
4. Java Virtual Machine (JVM)
• Runs the Byte Code.
• Makes Java platform independent.
• Handles Memory Management.
5. Byte Code
• Java bytecode is the form of instructions that
the Java Virtual Machine executes
• A Java programmer does not need to be aware of or
understand Java bytecode at all.
• The model of computation of Java bytecode is that
of a stack oriented programming language.
6. Garbage Collection
• The programmer is not responsible for memory
management in Java.
• The memory area in JVM where objects are created
is called Heap.
• The memory is freed during runtime by a special
thread called Garbage Collector.
• The GC looks for objects which are no longer
needed by the program and destroys them.
11. How Java works ?
• Java compilers convert your code from human readable to
something called “bytecode” in the Java world.
• “Bytecode” is interpreted by a JVM, which operates much
like a physical CPU to actually execute the compiled code.
• Just-in-time (JIT) compiler is a program that turns
Java bytecode into instructions that can be sent directly to
the processor.
14. Data Types in Java
• Data types define the nature of a value
• We need different data-types to handle real-world information
Name Size (in bits) Range
long 64 -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
int 32 –2,147,483,648 to 2,147,483,647
Short 16 –32,768 to 32,767
byte 8 –128 to 127
double 64 4.9e–324 to 1.8e+308
float 32 1.4e–045 to 3.4e+038
char 16 0 to 65,536
boolean ??
true/false
15. Primitive Types and Variables
• boolean, char, byte, short, int, long, float, double etc.
• These basic (or primitive) types are the only types that are
not objects (due to performance issues).
• This means that you don’t use the new operator to create
a primitive variable.
16. Naming Convention of Variables
• Can start with a letter, an underscore(_), or a dollar sign ($)
• Cannot start with a number.
long _LongNumber = 9999999;
String firstName = “John”;
float $Val = 2.3f;
int i, index = 2;
double gamma = 1.2;
boolean value2 = false;
17. Statements & Blocks
• A simple statement is a command terminated by a semi-colon:
name = “Fred”;
• A block is a compound statement enclosed in curly brackets:
{
name1 = “Fred”; name2 = “Bill”;
}
• Blocks may contain other blocks.
18. Flow of Control
• Java executes one statement after the other in the
order they are written.
• Many Java statements are flow control statements:
Alternation:
if, if else, switch
20. If else– Syntax
if ( <condition> )
{
// Execute these statements if <condition> is TRUE
}
21. If else– Syntax
if ( <condition> )
{
// Execute these statements if <condition> is TRUE
}
else
{
// Execute these statements if < condition> is FALSE
}
22. If else– Syntax
if ( <condition1> )
{
// Execute these statements if <condition1> is TRUE
} else if ( <condition2> )
{
// Execute these statements if <condition2> is TRUE
} else {
// if both <condition1> and <condition2> is FALSE
}
24. Operators
• Provide a way to perform different operations on
variables
• Categories of Java Operators
Assignment Operators =
Arithmetic Operators - + * / %
Relational Operators > < >= <= == !=
Logical Operators && || & | ^
Unary Operators + - ++ -- !
25. Assignment and Arithmetic Operators
• Used to assign a value to a variable
• Syntax
– <variable> = <expression>
• Java provides eight Arithmetic operators:
– for addition, subtraction, multiplication, division, modulo (or
remainder), increment (or add 1), decrement (or subtract 1),
and negation.
Assignment Operator =
26. Relational Operators
• Used to compare two values.
• Binary operators, and their operands are numeric
expressions.
Relational Operators > < >= <= == !=
27. Logical Operators
• Return a true or false value based on the state of
the variables
• There are six logical operators
Conditional AND Conditional OR AND OR NOT Exclusive OR
Logical Operators && || & | ! ^
28. Static versus Non-static Variables
• Static variables are shared across all the objects of a
class
– There is only one copy
• Non-Static variables are not shared
– There is a separate copy for each individual live object.
• Static variables cannot be declared within a
method.