Brainsmartlabs provides free online Java and SQL courses to help IT beginners learn the basics and advance their skills, offering unique teaching methods through practical examples and assignments. Their courses cover foundational concepts like classes, objects, methods, and inheritance in Java as well as different Java platforms and applications. Learners are encouraged to join Brainsmartlabs' affordable programs to build expertise in these languages and improve their careers.
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,.
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" );
}
}
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.