SlideShare a Scribd company logo
1 of 22
Basic Online Java
Course
→Brainsmartlabs
Follow us @ https://www.brainsmartlabs.com/free-basics
Index
• Introduction to Java course
• Basic concepts in Java course
• Types of Java applications
• Java platforms
• Where is Java being used?
• Is java worth to study?
• Introduction to Brainsmartlabs
• Why choose java course in Brainsmartlabs?
• Contact us
Introduction to Brainsmartlabs
Brainsmartlabs is the one-stop online portal for IT
beginners to learn basics and advanced Java and
SQL free online course. We are providing a unique
way of teaching Core Java, SQL, and advanced SQL
with examples. The Brainsmartlabs is the best
platform to learn online Java and SQL online with
affordable cost and practical examples.Explore
through free Java courses online with
brainsmartlabs and learn Java programming and
improve your career with free basic Java and SQL
courses. Join now today for best offer.
Introduction to Java
Java is a programming language developed by
James Gosling and others at Sun Microsystems and
released in 1995.Java is based on WORA - Write
Once, Run Anywhere. It is platform independent
language. Java Programs are composed to byte
code that can run on any Java virtual machine
(JVM). Java is one of the program language.
Nowadays six million+ Java developers are there in
IT companies. Java software runs on embedded
devices, smart cards, ATMs, thin clients, PCs,
servers, and mainframes than any other software.
What is Java
Java is a programming language. Java is a high
level robust secured and an object-oriented
programming language. If a programmer writes a
Java application, the byte code runs on operating
systems (OS), including Windows, Linux, and Mac
OS. Since Java has its own runtime environment
(JRE) and API, it is called platform.
Types of Java applications
• Standalone Application or Desktop GUI Applications
• Web Application
• Enterprise Application
• Mobile Application
• Embedded Systems
• Web Servers and Application Servers
• Scientific Applications
Java Platforms
There are four types of Java platforms.
Java SE (Java Standard Edition):It is a Java
programming platform. It involves Java
programming APIs such as java.lang, java.io,
java.net, Java.util, java.sql, java.math etc. It also
includes core topics like OOPs, String, Regex,
Exception, Inner classes, Multithreading, I/O
Stream, Networking, AWT, Swing, Reflection,
Collection etc.
• Java EE: (Java Enterprise Edition)It is an
enterprise platform which is essentially used to
develop web and enterprise applications. It is built
on the top of Java SE platform. It includes topics
like Servlet, JSP, Web Services, EJB, JPA etc.
• Java ME: (Java Micro Edition)It is a micro platform
which is mainly used to develop mobile
applications.
• Java FX: It is used to develop rich internet
applications. It uses lightweight user interface API.
Where is Java being used?
• Desktop applications
• Web applications
• Enterprise application
• Mobile
• Embedded system
• Smart card
• Robotics
• Game and etc,.
Basic Concepts in Java
• Class
• Objects
• Identifiers
• Methods
• Encapsulation
• Inheritance
• Polymorphism
• Constructors
Class
• A class is used to create objects and data types
and methods.
public class Dog {
String bread;
int age;
String color;
Void barking(){
}
Void hungry() {
}
Void sleeping() {
}
}
Objects
• A Java object is a combination of data. Objects
are created from templates known as classes.
public class Puppy {
public Puppy(String name) {
// This constructor has one parameter, name.
System.out.println("Passed Name is :" + name );
}
public static void main(String []args) {
Puppy myPuppy = new Puppy( "tommy" );
}
}
Identifiers
• Identifiers are the names of variables, methods,
classes, packages and interfaces
Methods
• A method is a set of code simply by utilizing the
method's name.
public class Numbers {
public static void main(String[] args) {
System.out.print("Square root of 4 is: " +
Math.sqrt(4));
}
}
Encapsulation
• Encapsulation in Java is a mechanism of wrapping
the data and code together as a single unit.
public class Person
{ private String name;
public String getName()
{ return name;
}
public void setName(String name)
{ this.name"
}
}
Inheritance
• Inheritance is a new class derived from an existing
class. A class derived from another class is called a
subclass, whereas the class from which a subclass
is derived is called a superclass.
Polymorphism
• Polymorphism is a concept which we can perform a
single action in different ways.
• There are two types of polymorphism in Java:
1.compile-time polymorphism
2. Runtime polymorphism.
• We can perform polymorphism in java by method
overloading and method overriding.
Constructor
• A constructor is a block of code related to a
program that's called when an instance of an
object is created.
public class Myclass{
...
MyClass(){
this("BeginnersBook.com");
}
MyClass(Sting s, int age){
this.name=s;
this.age=age;
}
public static void main(String args args[]){
MyClass obj=new MyClass():
...
}
}
Is Java worth to study?
• Java is the most generally used programming
language in the world.
• Java is a good ancestor to learning other
programming languages like C, C++
• Java is a mature language.
• Java prepares you for several open, well-paying
developer jobs.
• You'll find lots of compatible, passionate
programmers.
Why choose Java in
Brainsmartlabs?
Learning basics of java and SQL online is now easy and
simple with Brainsmartlabs.com. It is an online platform for
Java & SQL beginners to get expertise in the advanced core
programming language. The Brainsmartlabs is one such
platform which makes learning easier and affordable with
any number of videos. Here you will learn the free basics
first and then get into the core subject of Java and SQL
language. The videos will not make you bored as we follow
a unique way of teaching with assignments, DIY, tricky
questions, and confusion alerts. So, get prepared for your
interview and be a master before entering the programming
world with Brainsmartlabs.com.
Contact Us
(+91) 80958 38383
support@brainsmartlabs.com
https://www.brainsmartlabs.com/
Basic Online Java Course - Brainsmartlabs

More Related Content

What's hot

Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsRaja Sekhar
 
java training in jaipur|java training|core java training|java training compa...
 java training in jaipur|java training|core java training|java training compa... java training in jaipur|java training|core java training|java training compa...
java training in jaipur|java training|core java training|java training compa...infojaipurinfo Jaipur
 
Practical OOP In Java
Practical OOP In JavaPractical OOP In Java
Practical OOP In Javawiradikusuma
 
Java introduction
Java introductionJava introduction
Java introductionSagar Verma
 
Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 iimjobs and hirist
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java ProgrammingRavi Kant Sahu
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+javaYe Win
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwordsramesh517
 
Basic Java Programming
Basic Java ProgrammingBasic Java Programming
Basic Java ProgrammingMath-Circle
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSujit Majety
 
JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)Prof. Erwin Globio
 
Object oriented concepts with java
Object oriented concepts with javaObject oriented concepts with java
Object oriented concepts with javaishmecse13
 
Core Java Tutorial
Core Java TutorialCore Java Tutorial
Core Java TutorialJava2Blog
 

What's hot (20)

Java OOP s concepts and buzzwords
Java OOP s concepts and buzzwordsJava OOP s concepts and buzzwords
Java OOP s concepts and buzzwords
 
java training in jaipur|java training|core java training|java training compa...
 java training in jaipur|java training|core java training|java training compa... java training in jaipur|java training|core java training|java training compa...
java training in jaipur|java training|core java training|java training compa...
 
Core Java
Core JavaCore Java
Core Java
 
Core java
Core javaCore java
Core java
 
Java features
Java  features Java  features
Java features
 
Introduction of java
Introduction  of javaIntroduction  of java
Introduction of java
 
Practical OOP In Java
Practical OOP In JavaPractical OOP In Java
Practical OOP In Java
 
Java & advanced java
Java & advanced javaJava & advanced java
Java & advanced java
 
Java introduction
Java introductionJava introduction
Java introduction
 
Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014 Top 10 Java Interview Questions and Answers 2014
Top 10 Java Interview Questions and Answers 2014
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+java
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
 
Basic Java Programming
Basic Java ProgrammingBasic Java Programming
Basic Java Programming
 
CS8392 OOP
CS8392 OOPCS8392 OOP
CS8392 OOP
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Cs8392 oops 5 units notes
Cs8392 oops 5 units notes Cs8392 oops 5 units notes
Cs8392 oops 5 units notes
 
JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)
 
Object oriented concepts with java
Object oriented concepts with javaObject oriented concepts with java
Object oriented concepts with java
 
Core Java Tutorial
Core Java TutorialCore Java Tutorial
Core Java Tutorial
 

Similar to Basic Online Java Course - Brainsmartlabs

1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introductionjyoti_lakhani
 
U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptxmadan r
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdfAdiseshaK
 
Java programing language unit 1 introduction
Java programing language unit 1 introductionJava programing language unit 1 introduction
Java programing language unit 1 introductionchnrketan
 
Top 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersTop 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersWhizlabs
 
cs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxcs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxmshanajoel6
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentationjuliasceasor
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptRajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptCDSukte
 
Complete PPT about the Java lokesh kept it
Complete PPT about the Java lokesh kept itComplete PPT about the Java lokesh kept it
Complete PPT about the Java lokesh kept itlokeshpappaka10
 

Similar to Basic Online Java Course - Brainsmartlabs (20)

1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
 
Java
JavaJava
Java
 
U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
 
L1 basics
L1 basicsL1 basics
L1 basics
 
Comp102 lec 3
Comp102   lec 3Comp102   lec 3
Comp102 lec 3
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Unit 1
Unit 1Unit 1
Unit 1
 
Java programing language unit 1 introduction
Java programing language unit 1 introductionJava programing language unit 1 introduction
Java programing language unit 1 introduction
 
ppt_on_java.pptx
ppt_on_java.pptxppt_on_java.pptx
ppt_on_java.pptx
 
Top 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersTop 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed Answers
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
 
cs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxcs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptx
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
java slides
java slidesjava slides
java slides
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
 
Complete PPT about the Java lokesh kept it
Complete PPT about the Java lokesh kept itComplete PPT about the Java lokesh kept it
Complete PPT about the Java lokesh kept it
 

Recently uploaded

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

Basic Online Java Course - Brainsmartlabs

  • 1. Basic Online Java Course →Brainsmartlabs Follow us @ https://www.brainsmartlabs.com/free-basics
  • 2. Index • Introduction to Java course • Basic concepts in Java course • Types of Java applications • Java platforms • Where is Java being used? • Is java worth to study? • Introduction to Brainsmartlabs • Why choose java course in Brainsmartlabs? • Contact us
  • 3. Introduction to Brainsmartlabs Brainsmartlabs is the one-stop online portal for IT beginners to learn basics and advanced Java and SQL free online course. We are providing a unique way of teaching Core Java, SQL, and advanced SQL with examples. The Brainsmartlabs is the best platform to learn online Java and SQL online with affordable cost and practical examples.Explore through free Java courses online with brainsmartlabs and learn Java programming and improve your career with free basic Java and SQL courses. Join now today for best offer.
  • 4. Introduction to Java Java is a programming language developed by James Gosling and others at Sun Microsystems and released in 1995.Java is based on WORA - Write Once, Run Anywhere. It is platform independent language. Java Programs are composed to byte code that can run on any Java virtual machine (JVM). Java is one of the program language. Nowadays six million+ Java developers are there in IT companies. Java software runs on embedded devices, smart cards, ATMs, thin clients, PCs, servers, and mainframes than any other software.
  • 5. What is Java Java is a programming language. Java is a high level robust secured and an object-oriented programming language. If a programmer writes a Java application, the byte code runs on operating systems (OS), including Windows, Linux, and Mac OS. Since Java has its own runtime environment (JRE) and API, it is called platform.
  • 6. Types of Java applications • Standalone Application or Desktop GUI Applications • Web Application • Enterprise Application • Mobile Application • Embedded Systems • Web Servers and Application Servers • Scientific Applications
  • 7. Java Platforms There are four types of Java platforms. Java SE (Java Standard Edition):It is a Java programming platform. It involves Java programming APIs such as java.lang, java.io, java.net, Java.util, java.sql, java.math etc. It also includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection etc.
  • 8. • Java EE: (Java Enterprise Edition)It is an enterprise platform which is essentially used to develop web and enterprise applications. It is built on the top of Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA etc. • Java ME: (Java Micro Edition)It is a micro platform which is mainly used to develop mobile applications. • Java FX: It is used to develop rich internet applications. It uses lightweight user interface API.
  • 9. Where is Java being used? • Desktop applications • Web applications • Enterprise application • Mobile • Embedded system • Smart card • Robotics • Game and etc,.
  • 10. Basic Concepts in Java • Class • Objects • Identifiers • Methods • Encapsulation • Inheritance • Polymorphism • Constructors
  • 11. Class • A class is used to create objects and data types and methods. public class Dog { String bread; int age; String color; Void barking(){ } Void hungry() { } Void sleeping() { } }
  • 12. Objects • A Java object is a combination of data. Objects are created from templates known as classes. public class Puppy { public Puppy(String name) { // This constructor has one parameter, name. System.out.println("Passed Name is :" + name ); } public static void main(String []args) { Puppy myPuppy = new Puppy( "tommy" ); } }
  • 13. Identifiers • Identifiers are the names of variables, methods, classes, packages and interfaces
  • 14. Methods • A method is a set of code simply by utilizing the method's name. public class Numbers { public static void main(String[] args) { System.out.print("Square root of 4 is: " + Math.sqrt(4)); } }
  • 15. Encapsulation • Encapsulation in Java is a mechanism of wrapping the data and code together as a single unit. public class Person { private String name; public String getName() { return name; } public void setName(String name) { this.name" } }
  • 16. Inheritance • Inheritance is a new class derived from an existing class. A class derived from another class is called a subclass, whereas the class from which a subclass is derived is called a superclass.
  • 17. Polymorphism • Polymorphism is a concept which we can perform a single action in different ways. • There are two types of polymorphism in Java: 1.compile-time polymorphism 2. Runtime polymorphism. • We can perform polymorphism in java by method overloading and method overriding.
  • 18. Constructor • A constructor is a block of code related to a program that's called when an instance of an object is created. public class Myclass{ ... MyClass(){ this("BeginnersBook.com"); } MyClass(Sting s, int age){ this.name=s; this.age=age; } public static void main(String args args[]){ MyClass obj=new MyClass(): ... } }
  • 19. Is Java worth to study? • Java is the most generally used programming language in the world. • Java is a good ancestor to learning other programming languages like C, C++ • Java is a mature language. • Java prepares you for several open, well-paying developer jobs. • You'll find lots of compatible, passionate programmers.
  • 20. Why choose Java in Brainsmartlabs? Learning basics of java and SQL online is now easy and simple with Brainsmartlabs.com. It is an online platform for Java & SQL beginners to get expertise in the advanced core programming language. The Brainsmartlabs is one such platform which makes learning easier and affordable with any number of videos. Here you will learn the free basics first and then get into the core subject of Java and SQL language. The videos will not make you bored as we follow a unique way of teaching with assignments, DIY, tricky questions, and confusion alerts. So, get prepared for your interview and be a master before entering the programming world with Brainsmartlabs.com.
  • 21. Contact Us (+91) 80958 38383 support@brainsmartlabs.com https://www.brainsmartlabs.com/