SlideShare a Scribd company logo
PROGRAMMING WITH CORE
JAVA
BOLLINENI SIREESHA
20781A0423
III BTECH ECE-A
INTRODUCTION
• Java is a high-level ,class -based,object oriented
programming ,simple programming language
• Java was originally developed by james gosling at
sun microsystems It released in may 1995 as a
core component of sun microsystems’java
platform
• The original and reference implemention java
compilers,virtual machines,and class libraries
were originally released by sun under proprietary
licenses
INTRODUCTION
• The syntax of java similar to C and C++
• Java makes writing,compiling and debugging
programming easy
• Java applications are compiled to byte code
that can run on any virtual machine.
JAVA TERMINOLOGY
• Before learning java,one must be be familiar
with these common terms of java
• Java Virtual Machine(JVM):This is generally
referred to as JVM. There are three execution
phases of a program . They are
written,compile,and run the program
• Java Development kit(JDK): It is completed
java development kit that includes everthing
including compiler
JAVA TERMINOLOGY
• Java Runtime Environment(JRE): JDK includes
JRE .JRE installation on our computers allows
the java however ,we cannot compile it. JRE
includes a browser,JVM.
VARIABLES AND DATATYPES
variables
• String: Stores text, such as “hello”
• Int:Stores integers(whole numbers), without
decimals,such 123 or-123.
• Float :Stores floating points with decimal,such
as 19.99 or-19.99.
• char:Stores single characters,such as ‘a’ or’B’..
• Boolean:Stores values with two states:true
and false.
Datatypes
• Data types are different sizes and values that can be
stored in the variable that is made as per convenience
and circumstances to cover
• There are two types:
• Primitive Data Type: such as boolean, char, int, short,
byte, long, float, and double
• Non-Primitive Data Type or Object Data type: such as
String, Array, etc.
•
•
OPERATORS
• Operators are used to perform operations on varaibles and values
• Operator in Java is a symbol that is used to perform operations. For
example: +, -, *, / etc.
• There are many types of operators in Java which are given below:
• Arithmetic Operator:*, /, %,+, -
• Relational Operator:<, >, <=, >=, ==, !=
• Bitwise Operator: &,bitwise exclusive OR^,bitwise inclusive OR
• Logical Operator: logical AND&&,logical ORII
• Assignment Operator:=‘ +=, -=, *= ,/= ,%=, &=, ^= ,|=, <<=, >>=,
>>>=
STRINGS
• Strings, which are widely used in Java
programming, are a sequence of characters. In
the Java programming language, strings are
objects.
• String length:The string length method returns
the number of characters written in the String.
This method returns the length of any string
which is equal to the number of 16-bit Unicode
characters in the string
•
Advantages
• store multiple data of similar types with the
same name. It allows random access to
elements
• In an array, accessing an element is very easy
by using the index number.
comments
• Comments in Java are the statements are not
executed by the compiler and interpreter
• Two types of comments:
• Single-line comments:// single-line comment
• Multi-line comments:
• /*multi -line comment*/
ARRAYS
• What is an array in Java?
• An array is a container object that holds a
fixed number of values of a single type.
• An array is a collection of similar types of
data
• There are two types of array:
• Two-dimensional array.
• Multi-dimensional array.
Class and Object
• Class:A class is a blueprint for declaring and
creating objects.
• Ex:If animal is the class then dog is the
object, if human is the class then man is the
object.
• Objects:An object is a class instances that
allows programmers to use variables and
methods from inside the class
• Ex: mountain cycles, touring cycles
constructions
• Java allows the object to initialize itself when it is
created. This automatic initialization is known as
Constructors.
• The constructor is a block of code that initializes
the newly created object.
constructor initializes an object immediately
upon creation. Once defined, the constructor is
called automatically Constructors have no return
type, not even void.
polymorphism
• Polymorphism is a Greek word where poly means many or several
and morph means faces/ behaviors or functionalities. So, in simple
words, we can say that polymorphism is the ability of an entity to
take several forms.
• Advantages of Polymorphism in Java:
• More flexible and reusable code.
• The single variable name can be used to store variables of multiple
data types.
• Faster and efficient code at Runtime.
• Code that is protected from extension by other classes.
• More dynamic code at runtime.
•
KEY WORDS
• A keyword is a term used in digital marketing to
describe a word or a group of words an Internet user
uses to perform a search in a search engine or search
bar
• Keywords:
• Super Keyword in Java.
• final Keyword in Java.
• abstract keyword in java.
• static Keyword in Java.
• 'this' reference in Java.
• enum in Java.
STATIC KEYWORD
• The static keyword is a non-access modifier used for
methods and attributes. Static methods/attributes can
be accessed without creating an object of a class
• Uses:
• The static keyword in Java is mainly used for memory
management. The static keyword in Java is used to
share the same variable or method of a given class. The
users can apply static keywords with variables,
methods, blocks, and nested classes. The static
keyword belongs to the class than an instance of the
class.02-Dec-2021
THIS KEYWORDS
this keyword refers to the current object in a
method or constructor. The most common
use of the this keyword is to eliminate the
confusion between class attributes and
parameters with the same name
•
ABSTRACT KEYWORD
The abstract keyword is a non-access modifier,
used for classes and methods. Class: An
abstract class is a restricted class that cannot
be used to create objects (to access it, it must
be inherited from another class).
SUPER KEYWORD
• The super keyword refers to superclass
(parent) objects. It is used to call superclass
methods, and to access the superclass
constructor. The most common use of the
super keyword is to eliminate the confusion
between superclasses and subclasses that
have methods with the same name.
FINAL KEYWORD
• The final keyword is a non-access modifier
used for classes, attributes and methods,
which makes them non-changeable
(impossible to inherit or override). The final
keyword is useful when you want a variable to
always store the same value, like PI
(3.14159...).
FEATURES
• Some of the important Java 8 features are;
• forEach() method in Iterable interface.
• default and static methods in Interfaces.
• Functional Interfaces and Lambda Expressions.
• Java Stream API for Bulk Data Operations on Collections.
• Java Time API.
• Collection API improvements.
• Concurrency API improvements.
• Java IO improvements.
•
•
APPLICATIONS
• Spotify (Music Streaming App) ...
• Twitter (Social Media App) ...
• Opera Mini (Web Browser) ...
• CashApp (Mobile Payment Service) ...
• ThinkFree Office (Desktop-based App) ...
• Signal ( Messaging Services) ...
CONCLUSION
• In a intershala, This intership Has been an excellent and
rewarding Experience I Can Conclude That There Have
Been A Lot I’ve Learnt From My work . At intershala
Needless To say
• The Techincal aspects of The Work I’ve done are not
flawless and could be improved provided enough time.
Whatever believe my time spent in research and
discovering it was well worth it and contributed to
finding an acceptance solution to bulid a fully
functional web Two main things are importance I
learnted in java core are self motivation and
mangement skills etc…….
THANKYOU
Ad

More Related Content

Similar to Complete PPT about the Java lokesh kept it (20)

object oriented programming unit one ppt
object oriented programming unit one pptobject oriented programming unit one ppt
object oriented programming unit one ppt
isiagnel2
 
Power Point Presentation on Core Java For the Beginers
Power Point Presentation on Core Java For the BeginersPower Point Presentation on Core Java For the Beginers
Power Point Presentation on Core Java For the Beginers
SHAQUIBHASAN2
 
Java basic
Java basicJava basic
Java basic
Pooja Thakur
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
tuyambazejeanclaude
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.pptJava Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
intro_java (1).pptx
intro_java (1).pptxintro_java (1).pptx
intro_java (1).pptx
SmitNikumbh
 
Java introduction
Java introductionJava introduction
Java introduction
GaneshKumarKanthiah
 
Untitled presentation about object oriented.pptx
Untitled presentation about object oriented.pptxUntitled presentation about object oriented.pptx
Untitled presentation about object oriented.pptx
janetvidyaanancys
 
Introduction to Java.pptx sjskmdkdmdkdmdkdkd
Introduction to Java.pptx sjskmdkdmdkdmdkdkdIntroduction to Java.pptx sjskmdkdmdkdmdkdkd
Introduction to Java.pptx sjskmdkdmdkdmdkdkd
giresumit9
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
Hemlathadhevi Annadhurai
 
Md02 - Getting Started part-2
Md02 - Getting Started part-2Md02 - Getting Started part-2
Md02 - Getting Started part-2
Rakesh Madugula
 
Enumerations in java.pptx
Enumerations in java.pptxEnumerations in java.pptx
Enumerations in java.pptx
Srizan Pokrel
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
prat0ham
 
c++.pptxwjwjsijsnsksomammaoansnksooskskk
c++.pptxwjwjsijsnsksomammaoansnksooskskkc++.pptxwjwjsijsnsksomammaoansnksooskskk
c++.pptxwjwjsijsnsksomammaoansnksooskskk
mitivete
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Presentation2.ppt java basic core ppt .
Presentation2.ppt  java basic core ppt .Presentation2.ppt  java basic core ppt .
Presentation2.ppt java basic core ppt .
KeshavMotivation
 
2. Introduction to Java for engineering stud
2. Introduction to Java for engineering stud2. Introduction to Java for engineering stud
2. Introduction to Java for engineering stud
vyshukodumuri
 
Java Basics.pptx from nit patna ece department
Java Basics.pptx from nit patna ece departmentJava Basics.pptx from nit patna ece department
Java Basics.pptx from nit patna ece department
om2348023vats
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
apoorvams
 
Presentation on java
Presentation  on  javaPresentation  on  java
Presentation on java
shashi shekhar
 
object oriented programming unit one ppt
object oriented programming unit one pptobject oriented programming unit one ppt
object oriented programming unit one ppt
isiagnel2
 
Power Point Presentation on Core Java For the Beginers
Power Point Presentation on Core Java For the BeginersPower Point Presentation on Core Java For the Beginers
Power Point Presentation on Core Java For the Beginers
SHAQUIBHASAN2
 
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.pptJava Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
akashsachu221
 
intro_java (1).pptx
intro_java (1).pptxintro_java (1).pptx
intro_java (1).pptx
SmitNikumbh
 
Untitled presentation about object oriented.pptx
Untitled presentation about object oriented.pptxUntitled presentation about object oriented.pptx
Untitled presentation about object oriented.pptx
janetvidyaanancys
 
Introduction to Java.pptx sjskmdkdmdkdmdkdkd
Introduction to Java.pptx sjskmdkdmdkdmdkdkdIntroduction to Java.pptx sjskmdkdmdkdmdkdkd
Introduction to Java.pptx sjskmdkdmdkdmdkdkd
giresumit9
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
Hemlathadhevi Annadhurai
 
Md02 - Getting Started part-2
Md02 - Getting Started part-2Md02 - Getting Started part-2
Md02 - Getting Started part-2
Rakesh Madugula
 
Enumerations in java.pptx
Enumerations in java.pptxEnumerations in java.pptx
Enumerations in java.pptx
Srizan Pokrel
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
prat0ham
 
c++.pptxwjwjsijsnsksomammaoansnksooskskk
c++.pptxwjwjsijsnsksomammaoansnksooskskkc++.pptxwjwjsijsnsksomammaoansnksooskskk
c++.pptxwjwjsijsnsksomammaoansnksooskskk
mitivete
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Presentation2.ppt java basic core ppt .
Presentation2.ppt  java basic core ppt .Presentation2.ppt  java basic core ppt .
Presentation2.ppt java basic core ppt .
KeshavMotivation
 
2. Introduction to Java for engineering stud
2. Introduction to Java for engineering stud2. Introduction to Java for engineering stud
2. Introduction to Java for engineering stud
vyshukodumuri
 
Java Basics.pptx from nit patna ece department
Java Basics.pptx from nit patna ece departmentJava Basics.pptx from nit patna ece department
Java Basics.pptx from nit patna ece department
om2348023vats
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
apoorvams
 

Recently uploaded (20)

Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Ad

Complete PPT about the Java lokesh kept it

  • 1. PROGRAMMING WITH CORE JAVA BOLLINENI SIREESHA 20781A0423 III BTECH ECE-A
  • 2. INTRODUCTION • Java is a high-level ,class -based,object oriented programming ,simple programming language • Java was originally developed by james gosling at sun microsystems It released in may 1995 as a core component of sun microsystems’java platform • The original and reference implemention java compilers,virtual machines,and class libraries were originally released by sun under proprietary licenses
  • 3. INTRODUCTION • The syntax of java similar to C and C++ • Java makes writing,compiling and debugging programming easy • Java applications are compiled to byte code that can run on any virtual machine.
  • 4. JAVA TERMINOLOGY • Before learning java,one must be be familiar with these common terms of java • Java Virtual Machine(JVM):This is generally referred to as JVM. There are three execution phases of a program . They are written,compile,and run the program • Java Development kit(JDK): It is completed java development kit that includes everthing including compiler
  • 5. JAVA TERMINOLOGY • Java Runtime Environment(JRE): JDK includes JRE .JRE installation on our computers allows the java however ,we cannot compile it. JRE includes a browser,JVM.
  • 6. VARIABLES AND DATATYPES variables • String: Stores text, such as “hello” • Int:Stores integers(whole numbers), without decimals,such 123 or-123. • Float :Stores floating points with decimal,such as 19.99 or-19.99. • char:Stores single characters,such as ‘a’ or’B’.. • Boolean:Stores values with two states:true and false.
  • 7. Datatypes • Data types are different sizes and values that can be stored in the variable that is made as per convenience and circumstances to cover • There are two types: • Primitive Data Type: such as boolean, char, int, short, byte, long, float, and double • Non-Primitive Data Type or Object Data type: such as String, Array, etc. • •
  • 8. OPERATORS • Operators are used to perform operations on varaibles and values • Operator in Java is a symbol that is used to perform operations. For example: +, -, *, / etc. • There are many types of operators in Java which are given below: • Arithmetic Operator:*, /, %,+, - • Relational Operator:<, >, <=, >=, ==, != • Bitwise Operator: &,bitwise exclusive OR^,bitwise inclusive OR • Logical Operator: logical AND&&,logical ORII • Assignment Operator:=‘ +=, -=, *= ,/= ,%=, &=, ^= ,|=, <<=, >>=, >>>=
  • 9. STRINGS • Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. • String length:The string length method returns the number of characters written in the String. This method returns the length of any string which is equal to the number of 16-bit Unicode characters in the string •
  • 10. Advantages • store multiple data of similar types with the same name. It allows random access to elements • In an array, accessing an element is very easy by using the index number.
  • 11. comments • Comments in Java are the statements are not executed by the compiler and interpreter • Two types of comments: • Single-line comments:// single-line comment • Multi-line comments: • /*multi -line comment*/
  • 12. ARRAYS • What is an array in Java? • An array is a container object that holds a fixed number of values of a single type. • An array is a collection of similar types of data • There are two types of array: • Two-dimensional array. • Multi-dimensional array.
  • 13. Class and Object • Class:A class is a blueprint for declaring and creating objects. • Ex:If animal is the class then dog is the object, if human is the class then man is the object. • Objects:An object is a class instances that allows programmers to use variables and methods from inside the class • Ex: mountain cycles, touring cycles
  • 14. constructions • Java allows the object to initialize itself when it is created. This automatic initialization is known as Constructors. • The constructor is a block of code that initializes the newly created object. constructor initializes an object immediately upon creation. Once defined, the constructor is called automatically Constructors have no return type, not even void.
  • 15. polymorphism • Polymorphism is a Greek word where poly means many or several and morph means faces/ behaviors or functionalities. So, in simple words, we can say that polymorphism is the ability of an entity to take several forms. • Advantages of Polymorphism in Java: • More flexible and reusable code. • The single variable name can be used to store variables of multiple data types. • Faster and efficient code at Runtime. • Code that is protected from extension by other classes. • More dynamic code at runtime. •
  • 16. KEY WORDS • A keyword is a term used in digital marketing to describe a word or a group of words an Internet user uses to perform a search in a search engine or search bar • Keywords: • Super Keyword in Java. • final Keyword in Java. • abstract keyword in java. • static Keyword in Java. • 'this' reference in Java. • enum in Java.
  • 17. STATIC KEYWORD • The static keyword is a non-access modifier used for methods and attributes. Static methods/attributes can be accessed without creating an object of a class • Uses: • The static keyword in Java is mainly used for memory management. The static keyword in Java is used to share the same variable or method of a given class. The users can apply static keywords with variables, methods, blocks, and nested classes. The static keyword belongs to the class than an instance of the class.02-Dec-2021
  • 18. THIS KEYWORDS this keyword refers to the current object in a method or constructor. The most common use of the this keyword is to eliminate the confusion between class attributes and parameters with the same name •
  • 19. ABSTRACT KEYWORD The abstract keyword is a non-access modifier, used for classes and methods. Class: An abstract class is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class).
  • 20. SUPER KEYWORD • The super keyword refers to superclass (parent) objects. It is used to call superclass methods, and to access the superclass constructor. The most common use of the super keyword is to eliminate the confusion between superclasses and subclasses that have methods with the same name.
  • 21. FINAL KEYWORD • The final keyword is a non-access modifier used for classes, attributes and methods, which makes them non-changeable (impossible to inherit or override). The final keyword is useful when you want a variable to always store the same value, like PI (3.14159...).
  • 22. FEATURES • Some of the important Java 8 features are; • forEach() method in Iterable interface. • default and static methods in Interfaces. • Functional Interfaces and Lambda Expressions. • Java Stream API for Bulk Data Operations on Collections. • Java Time API. • Collection API improvements. • Concurrency API improvements. • Java IO improvements. • •
  • 23. APPLICATIONS • Spotify (Music Streaming App) ... • Twitter (Social Media App) ... • Opera Mini (Web Browser) ... • CashApp (Mobile Payment Service) ... • ThinkFree Office (Desktop-based App) ... • Signal ( Messaging Services) ...
  • 24. CONCLUSION • In a intershala, This intership Has been an excellent and rewarding Experience I Can Conclude That There Have Been A Lot I’ve Learnt From My work . At intershala Needless To say • The Techincal aspects of The Work I’ve done are not flawless and could be improved provided enough time. Whatever believe my time spent in research and discovering it was well worth it and contributed to finding an acceptance solution to bulid a fully functional web Two main things are importance I learnted in java core are self motivation and mangement skills etc…….