SlideShare a Scribd company logo
3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template
https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 1/5
Overview of Java, Java buzzwords, Data
types, variables
Java is a platform independent, more powerful, secure, high performance, multithreaded programming
language. Here we discuss some points related to Java.
Define byte
Byte code is the set of optimized instructions generated during compilation phase and it is more
powerful than ordinary pointer code.
Define JRE
The Java Runtime Environment (JRE) is part of the Java Development Kit (JDK). It contains a set of
libraries and tools for developing Java application. The Java Runtime Environment provides the minimum
requirements for executing a Java application.
Define JVM
JVM is set of programs developed by sun Micro System and supplied as a part of the JDK for reading
line by line line of byte code and it converts into a native understanding form of operating system. The
Java language is one of the compiled and interpreted programming language.
Garbage Collector
The Garbage Collector is the system Java program which runs in the background along with a regular
Java program to collect un-Referenced (unused) memory space for improving the performance of our
applications.
Note: Java programming does not support destructor concept in place of destructor, we have garbage
collector program.
Define an API
An API (Application Programming Interface) is a collection of packages, a package is the collection of
classes, interfaces and sub-packages. A sub-package is a collection of classes, Interfaces and sub sub
packages etc.
Java programming contains user friendly syntax so that we can develop effective applications. in other
words if any language is providing user friendly syntax, we can develop error free applications.
Definition of JIT
JIT is the set of programs developed by SUN Micro System and added as a part of JVM, to speed up the
interpretation phase.
Features of Java
Features of a language are nothing but the set of services or facilities provided by the language vendors
to the industry programmers. Some important features of java are;
1. Simple
It is simple because of the following factors:
3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template
https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 2/5
It is free from pointer due to this execution time of application is improved. [Whenever we write a
Java program without pointers then internally it is converted into the equivalent pointer program].
It has Rich set of API (application protocol interface).
It hs Garbage Collector which is always used to collect un-Referenced (unused) Memory location for
improving performance of a Java program.
It contains user friendly syntax for developing any applications.
2. Platform Independent
A program or technology is said to be platform independent if and only if which can run on all available
operating systems with respect to its development and compilation. (Platform represents O.S).
3. Architectural Neutral
Architecture represents processor.
A Language or Technology is said to be Architectural neutral which can run on any available processors
in the real world without considering their development and compilation.
3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template
https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 3/5
The languages like C, CPP are treated as architectural dependent.
4. Portable
If any language supports platform independent and architectural neutral feature known as portable. The
languages like C, CPP, Pascal are treated as non-portable language. It is a portable language.
According to SUN microsystem.
5. Multithreaded
A flow of control is known as a threa. When any Language executes multiple thread at a time that
language is known as multithreaded e. It is multithreaded.
6. Distributed
Using this language we can create distributed applications. RMI and EJB are used for creating
distributed applications. In distributed application multiple client system depends on multiple server
systems so that even problem occurred in one server will never be reflected on any client system.
7. Networked
It is mainly designed for web based applications, J2EE is used for developing network based
applications.
8. Robust
Simply means of Robust are strong. It is robust or strong Programming Language because of its
capability to handle Run-time Error, automatic garbage collection, the lack of pointer concept, Exception
Handling. All these points make It robust Language.
9. Dynamic
It supports Dynamic memory allocation due to this memory wastage is reduce and improve performance
of the application. The process of allocating the memory space to the input of the program at a run-time
is known as dynamic memory allocation, To programming to allocate memory space by dynamically we
3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template
https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 4/5
use an operator called 'new' 'new' operator is known as dynamic memory allocation operator.
10. Secure
It is a more secure language compared to other language; In this language, all code is covered in byte
code after compilation which is not readable by human.
11. High performance
It have high performance because of following reasons;
This language uses Bytecode which is faster than ordinary pointer code so Performance of this
language is high.
Garbage collector, collect the unused memory space and improve the performance of the
application.
It has no pointers so that using this language we can develop an application very easily.
It support multithreading, because of this time consuming process can be reduced to executing the
program.
12. Interpreted
It is one of the highly interpreted programming languages.
13. Object Oriented
It supports OOP's concepts because of this it is most secure language, for this topic you can read our
oop's concepts in detail.
Path
Path variable is set for providing path for all Java tools like java, javac, javap, javah, jar, appletviewer. In
Java to run any program we use java tool and for compile Java code use javactool. All these tools are
available in bin folder so we set path upto bin folder.
classpath
classpath variable is set for providing path of all Java classes which is used in our application. All
classes are available in lib/rt.jar so we set classpath upto lib/rt.jar.
Compile and Run Java Program
In the Java programming language, all source code is first written in plain text files and save with
the .java extension. After compilation, .class files are generated by javac compiler. A .class file does not
contain code that is native to your processor; it instead contains bytecodes (it is machine language of the
Java Virtual Machine1 (JVM)).
The java launcher tool then runs your application with an instance of the Java Virtual Machine (JVM).
3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template
https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 5/5
Steps For compile Java Program
First Save Java program with same as class name with .java extension.
Example: First.java
Compile: javac Filename.java
Example, javac First.java
Note: Here javac is tools or application programs or exe files which is used for Compile the Java
program.
Steps For Run Java Program
For run java program use java tool.
Run by: java Filename
Example: java First
Note: Here java is tools or application programs or exe files which is used for run the Java program.
Example
class First
{
public static void main(String[] args)
{
System.out.println("Hello Java");
System.out.println("My First Java Program");
}
}
Compile and Execute Java Code
To compile: javac First.java To execute: java First
Output
Hello Java My First Java Program

More Related Content

DOC
Grade 8: Introduction To Java
PDF
Introduction to Java Programming Language
PDF
Bn1005 demo ppt core java
PDF
Java Programming Basics
PPTX
Java programming language
PPTX
Features of java
DOCX
Industrial Training report on java
PPTX
Important features of java
Grade 8: Introduction To Java
Introduction to Java Programming Language
Bn1005 demo ppt core java
Java Programming Basics
Java programming language
Features of java
Industrial Training report on java
Important features of java

What's hot (20)

PDF
A seminar report on core java
PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
PPT
Java for Recruiters
PPTX
C,c++,java,php,.net training institute in delhi, best training institute for ...
PDF
Introduction to java
PPTX
Java vs python
PPTX
Java seminar
PPTX
Features of java
PPSX
CR Bridge Solutions Pvt Ltd. Java slides
PPTX
Introduction to java
PPSX
Industrial Training Report on Java Technology.
DOCX
JAVA CORE
DOCX
Advance java summer training report
PDF
Report summer training core java
PPT
An introduction to java programming language forbeginners(java programming tu...
PPTX
Summer training presentation on "CORE JAVA".
PPT
Java for C++ programers
PPT
Java features
PDF
130700548484460000
A seminar report on core java
Training on Core java | PPT Presentation | Shravan Sanidhya
Java for Recruiters
C,c++,java,php,.net training institute in delhi, best training institute for ...
Introduction to java
Java vs python
Java seminar
Features of java
CR Bridge Solutions Pvt Ltd. Java slides
Introduction to java
Industrial Training Report on Java Technology.
JAVA CORE
Advance java summer training report
Report summer training core java
An introduction to java programming language forbeginners(java programming tu...
Summer training presentation on "CORE JAVA".
Java for C++ programers
Java features
130700548484460000
Ad

Similar to String class (20)

PPTX
What is Java, JDK, JVM, Introduction to Java.pptx
PDF
Core java part1
PPSX
Intoduction to java
PPSX
Dr. Rajeshree Khande :Intoduction to java
PDF
Introduction java programming
PPTX
1.Intro--Why Java.pptx
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
PPTX
Introduction to java
PPTX
01. Introduction to programming with java
PPTX
PPTX
Lecture - 1 introduction to java
PPTX
Skillwise Elementary Java Programming
PPTX
UNIT 1.pptx
PDF
Java programming material for beginners by Nithin, VVCE, Mysuru
PPTX
Java Programming (M&M)
PDF
java notes.pdf
PPTX
Introduction to java
PPTX
Programming in java ppt
PPTX
Programming in java ppt
What is Java, JDK, JVM, Introduction to Java.pptx
Core java part1
Intoduction to java
Dr. Rajeshree Khande :Intoduction to java
Introduction java programming
1.Intro--Why Java.pptx
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to java
01. Introduction to programming with java
Lecture - 1 introduction to java
Skillwise Elementary Java Programming
UNIT 1.pptx
Java programming material for beginners by Nithin, VVCE, Mysuru
Java Programming (M&M)
java notes.pdf
Introduction to java
Programming in java ppt
Programming in java ppt
Ad

More from TharuniDiddekunta (17)

PDF
Exception handling basic
PDF
Creating your own exception
PDF
Built in exceptions
PDF
Packages access protection, importing packages
PDF
Interfaces in java
PDF
Inheritance used in java
PDF
Operators, control statements represented in java
PDF
Classes, objects, methods, constructors, this keyword in java
PDF
Arrays in java
PPTX
Software Metrics (Testing)
PPTX
unit 3 Design 1
PPTX
Unit 4 testing
PPTX
risk managment and quality
PPTX
PPT
Network layer
PPTX
Transport layer and Application layer
PPT
Congection control and Internet working
Exception handling basic
Creating your own exception
Built in exceptions
Packages access protection, importing packages
Interfaces in java
Inheritance used in java
Operators, control statements represented in java
Classes, objects, methods, constructors, this keyword in java
Arrays in java
Software Metrics (Testing)
unit 3 Design 1
Unit 4 testing
risk managment and quality
Network layer
Transport layer and Application layer
Congection control and Internet working

Recently uploaded (20)

PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Sustainable Sites - Green Building Construction
DOCX
573137875-Attendance-Management-System-original
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Mechanical Engineering MATERIALS Selection
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Well-logging-methods_new................
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
composite construction of structures.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Construction Project Organization Group 2.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Foundation to blockchain - A guide to Blockchain Tech
additive manufacturing of ss316l using mig welding
Sustainable Sites - Green Building Construction
573137875-Attendance-Management-System-original
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mechanical Engineering MATERIALS Selection
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Well-logging-methods_new................
Internet of Things (IOT) - A guide to understanding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
R24 SURVEYING LAB MANUAL for civil enggi
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
composite construction of structures.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Construction Project Organization Group 2.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...

String class

  • 1. 3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 1/5 Overview of Java, Java buzzwords, Data types, variables Java is a platform independent, more powerful, secure, high performance, multithreaded programming language. Here we discuss some points related to Java. Define byte Byte code is the set of optimized instructions generated during compilation phase and it is more powerful than ordinary pointer code. Define JRE The Java Runtime Environment (JRE) is part of the Java Development Kit (JDK). It contains a set of libraries and tools for developing Java application. The Java Runtime Environment provides the minimum requirements for executing a Java application. Define JVM JVM is set of programs developed by sun Micro System and supplied as a part of the JDK for reading line by line line of byte code and it converts into a native understanding form of operating system. The Java language is one of the compiled and interpreted programming language. Garbage Collector The Garbage Collector is the system Java program which runs in the background along with a regular Java program to collect un-Referenced (unused) memory space for improving the performance of our applications. Note: Java programming does not support destructor concept in place of destructor, we have garbage collector program. Define an API An API (Application Programming Interface) is a collection of packages, a package is the collection of classes, interfaces and sub-packages. A sub-package is a collection of classes, Interfaces and sub sub packages etc. Java programming contains user friendly syntax so that we can develop effective applications. in other words if any language is providing user friendly syntax, we can develop error free applications. Definition of JIT JIT is the set of programs developed by SUN Micro System and added as a part of JVM, to speed up the interpretation phase. Features of Java Features of a language are nothing but the set of services or facilities provided by the language vendors to the industry programmers. Some important features of java are; 1. Simple It is simple because of the following factors:
  • 2. 3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 2/5 It is free from pointer due to this execution time of application is improved. [Whenever we write a Java program without pointers then internally it is converted into the equivalent pointer program]. It has Rich set of API (application protocol interface). It hs Garbage Collector which is always used to collect un-Referenced (unused) Memory location for improving performance of a Java program. It contains user friendly syntax for developing any applications. 2. Platform Independent A program or technology is said to be platform independent if and only if which can run on all available operating systems with respect to its development and compilation. (Platform represents O.S). 3. Architectural Neutral Architecture represents processor. A Language or Technology is said to be Architectural neutral which can run on any available processors in the real world without considering their development and compilation.
  • 3. 3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 3/5 The languages like C, CPP are treated as architectural dependent. 4. Portable If any language supports platform independent and architectural neutral feature known as portable. The languages like C, CPP, Pascal are treated as non-portable language. It is a portable language. According to SUN microsystem. 5. Multithreaded A flow of control is known as a threa. When any Language executes multiple thread at a time that language is known as multithreaded e. It is multithreaded. 6. Distributed Using this language we can create distributed applications. RMI and EJB are used for creating distributed applications. In distributed application multiple client system depends on multiple server systems so that even problem occurred in one server will never be reflected on any client system. 7. Networked It is mainly designed for web based applications, J2EE is used for developing network based applications. 8. Robust Simply means of Robust are strong. It is robust or strong Programming Language because of its capability to handle Run-time Error, automatic garbage collection, the lack of pointer concept, Exception Handling. All these points make It robust Language. 9. Dynamic It supports Dynamic memory allocation due to this memory wastage is reduce and improve performance of the application. The process of allocating the memory space to the input of the program at a run-time is known as dynamic memory allocation, To programming to allocate memory space by dynamically we
  • 4. 3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 4/5 use an operator called 'new' 'new' operator is known as dynamic memory allocation operator. 10. Secure It is a more secure language compared to other language; In this language, all code is covered in byte code after compilation which is not readable by human. 11. High performance It have high performance because of following reasons; This language uses Bytecode which is faster than ordinary pointer code so Performance of this language is high. Garbage collector, collect the unused memory space and improve the performance of the application. It has no pointers so that using this language we can develop an application very easily. It support multithreading, because of this time consuming process can be reduced to executing the program. 12. Interpreted It is one of the highly interpreted programming languages. 13. Object Oriented It supports OOP's concepts because of this it is most secure language, for this topic you can read our oop's concepts in detail. Path Path variable is set for providing path for all Java tools like java, javac, javap, javah, jar, appletviewer. In Java to run any program we use java tool and for compile Java code use javactool. All these tools are available in bin folder so we set path upto bin folder. classpath classpath variable is set for providing path of all Java classes which is used in our application. All classes are available in lib/rt.jar so we set classpath upto lib/rt.jar. Compile and Run Java Program In the Java programming language, all source code is first written in plain text files and save with the .java extension. After compilation, .class files are generated by javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes (it is machine language of the Java Virtual Machine1 (JVM)). The java launcher tool then runs your application with an instance of the Java Virtual Machine (JVM).
  • 5. 3/18/2019 Overview of Java, Java buzzwords, Data types, variables: Your Guided Course Template https://canvas.instructure.com/courses/1480238/pages/overview-of-java-java-buzzwords-data-types-variables?module_item_id=21012842 5/5 Steps For compile Java Program First Save Java program with same as class name with .java extension. Example: First.java Compile: javac Filename.java Example, javac First.java Note: Here javac is tools or application programs or exe files which is used for Compile the Java program. Steps For Run Java Program For run java program use java tool. Run by: java Filename Example: java First Note: Here java is tools or application programs or exe files which is used for run the Java program. Example class First { public static void main(String[] args) { System.out.println("Hello Java"); System.out.println("My First Java Program"); } } Compile and Execute Java Code To compile: javac First.java To execute: java First Output Hello Java My First Java Program