Javascript Basics
Javascript Basics
Javascript Basics
Doctype html>
<html class="no-js" lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#ffffff" />
<!--[if IE]><![endif]-->
<link rel="dns-prefetch" href="//cdn.programiz.com" />
<link rel="preconnect" href="//cdn.programiz.com" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="//cdn.programiz.com" />
<!--[if IE 9]>
<link rel="prefetch" href="//cdn.programiz.com" />
<![endif]-->
<meta name="description" content="Java is a powerful general-purpose programming
language. Our Java tutorial will guide you to learn Java one step at a time with
the help of examples." />
<meta name="generator" content="Drupal 7 (http://drupal.org)" />
<link rel="canonical" href="https://www.programiz.com/java-programming" />
<link rel="shortlink" href="https://www.programiz.com/node/1632" />
<script>
var url = window.location.href;
window.googletag = window.googletag || {cmd: []};
window.googletag.cmd.push(function() {
switch (true) {
case url.includes("/c-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'c_lang');
break;
case url.includes("/cpp-programming"):
window.googletag.pubads().setTargeting('prog_lang',
'c_plus_plus_lang');
break;
case url.includes("/csharp-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'c_sharp_lang');
break;
case url.includes("/dsa"):
window.googletag.pubads().setTargeting('prog_lang', 'dsa');
break;
case url.includes("/java-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'java');
break;
case url.includes("/javascript"):
window.googletag.pubads().setTargeting('prog_lang', 'javascript');
break;
case url.includes("/kotlin-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'kotlin');
break;
case url.includes("/python-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'python');
break;
case url.includes("/swift-programming"):
window.googletag.pubads().setTargeting('prog_lang', 'swift');
break;
}
});
</script>
<script src="https://cmp.uniconsent.com/v2/stub.min.js"></script>
<script async src='https://cmp.uniconsent.com/v2/a8d3ae4937/cmp.js'></script>
<script type="text/javascript">
window.googletag = window.googletag || {};
window.googletag.cmd = window.googletag.cmd || [];
window.googletag.cmd.push(function () {
window.googletag.pubads().enableAsyncRendering();
window.googletag.pubads().disableInitialLoad();
});
(adsbygoogle = window.adsbygoogle || []).pauseAdRequests = 1;
</script>
<script>
__tcfapi("addEventListener", 2, function (tcData, success) {
if (success && tcData.unicLoad === true) {
if (!window._initAds) {
window._initAds = true;
var script = document.createElement('script');
script.async = true;
script.src =
'//dsh7ky7308k4b.cloudfront.net/publishers/Programizcomnew.min.js';
document.head.appendChild(script);
try {
fetch(new
Request("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", { method:
'HEAD', mode: 'no-cors' })).then(function (response) {
return true;
}).catch(function (e) {
if (document.getElementsByClassName("content-top-ad") !=
null && document.getElementsByClassName("content-top-ad").length > 0) {
document.getElementsByClassName("content-top-ad")
[0].style.display = "none";
}
var ad_elements = document.getElementsByClassName("pub-
ad");
while (ad_elements.length > 0) {
ad_elements[0].parentNode.removeChild(ad_elements[0]);
}
if (document.getElementById("carbon-block") != null) {
var carbonScript = document.createElement("script");
carbonScript.src = "//cdn.carbonads.com/carbon.js?
serve=CKYDL27L&placement=wwwprogramizcom";
carbonScript.id = "_carbonads_js";
document.getElementById("carbon-
block").appendChild(carbonScript);
}
});
} catch (error) {
console.log(error);
}
}
}
});
</script>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TKXT7MH');</script>
<style>.pub-ad{z-index:0;clear:both;position:relative;text-align:center}.pub-
ad::before{content:'ADVERTISEMENTS';display:block;position:absolute;top:-
20px;left:0;right:0;height:20px;font-size:9px;line-height:20px;letter-
spacing:1px;color:#bcbfc5}</style>
<!-- Facebook Pixel Code -->
<script async>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '123000288571689');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=123000288571689&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<style>.adSpinner {display: none;}</style>
<!--[if gt IE 9]>
<script type="text/javascript"
src="//cdn.programiz.com/sites/tutorial2program/files/advagg_js/js__Pim5tTowQ71vrRN
vaAg0m07jpCpXM6RsaXi_DARl1Go__GFcMVwA_8zYqqv3dYigkNwJmJBQm6DAlc8htDu-
dGw4__DdD1UdeKEXumScAwIBnmVuP-kOInkxJzYmsYbmVxHfk.js#ie10+" defer="defer"
onload="if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(true);}"></script>
<![endif]-->
<!--[if !IE]><!-->
<script type="text/javascript"
src="//cdn.programiz.com/sites/tutorial2program/files/advagg_js/js__Pim5tTowQ71vrRN
vaAg0m07jpCpXM6RsaXi_DARl1Go__GFcMVwA_8zYqqv3dYigkNwJmJBQm6DAlc8htDu-
dGw4__DdD1UdeKEXumScAwIBnmVuP-kOInkxJzYmsYbmVxHfk.js" defer="defer"
onload="if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(true);}"></script>
<!--<![endif]-->
<script type="text/javascript"
src="//cdn.programiz.com/sites/tutorial2program/files/advagg_js/js__ZyeOaiFuDejQQbh
UV7yg7atYZnj4WLfH77o0scv4068__MZdWWgUEYpsEWLcU0RqkaXMsEyksbpCgnf4XwXRkqz0__DdD1UdeK
EXumScAwIBnmVuP-kOInkxJzYmsYbmVxHfk.js" defer="defer" onload="function
advagg_mod_3(){advagg_mod_3.count=++advagg_mod_3.count||
1;try{if(advagg_mod_3.count<=40)
{init_drupal_core_settings();advagg_mod_3.count=100;}}
catch(e){if(advagg_mod_3.count>=40){throw e;}
else{window.setTimeout(advagg_mod_3,1);}}}
function advagg_mod_3_check()
{if(window.init_drupal_core_settings&&window.jQuery&&window.Drupal)
{advagg_mod_3();}
else{window.setTimeout(advagg_mod_3_check,1);}}
advagg_mod_3_check();"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
function init_drupal_core_settings() {jQuery.extend(Drupal.settings,
{"basePath":"\/","pathPrefix":"","ajaxPageState":
{"theme":"programiz","theme_token":"dlRMgfIHNmbPK06XlIXp1VJvq8DqyWMCbyR7sOXnzh0"},"
urlIsAjaxTrusted":{"\/java-programming":true}});
if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(false);}} if(window.jQuery
&& window.Drupal){init_drupal_core_settings();}
//--><!]]>
</script>
</head>
<body>
<div class="main--backdrop"></div>
<p class="notice-bar-top__message">
Get ahead of your peers. <strong>Try hands-on Java</strong>
with Programiz PRO. <span class="notice-bar-top__message notice-bar-top__message--
link-underlined">Claim Discount</span> </p>
</div>
</a>
<script>
function advagg_mod_1() {
// Count how many times this function is called.
advagg_mod_1.count = ++advagg_mod_1.count || 1;
try {
if (advagg_mod_1.count <= 40) {
createFixedBarTimer();
function createFixedBarTimer() {
const startDate = new Date('Sep 23, 2022 00:00:00 GMT-0700').getTime();
const endDate = new Date('Oct 01, 2022 00:00:00 GMT-0700').getTime();
const x = setInterval(function () {
let now = new Date().getTime();
<div class="brand">
<a href="/" title="Programiz">
<img class="d-lg-none"
src="//cdn.programiz.com/sites/tutorial2program/files/sp_logo.svg" width="28"
height="28" alt="Programiz"><img class="d-none d-lg-block"
src="//cdn.programiz.com/sites/tutorial2program/files/pc_logo.svg" width="84"
height="28" alt="Programiz"></a>
</div>
<div class="sub-menu__links">
<div class="sub-menu__links__column sub-menu__links__column--
left-pro">
<div class="pro-nav-left-container">
<div class="pro-nav-left-container--image" style="background-
image: url(/sites/all/themes/programiz/assets/java-pro-nav-left.png)"></div>
<h4 class="sub-menu__links__column__title">
Learn Java Interactively</h4>
<div class="sub-menu__link__row">
<a title="Become a Java Master"
href="https://programiz.pro/learn/master-java?utm_source=nav-pro-
button&utm_campaign=programiz&utm_medium=referral" class="btn btn--gray
btn--small btn--block d-flex align-items-center">
Become a Java Master </a>
</div>
<div class="sub-menu__link__row">
<a title="Become a C Master"
href="https://programiz.pro/learn/master-c-programming?utm_source=nav-pro-
button&utm_campaign=programiz&utm_medium=referral" class="btn btn--gray
btn--small btn--block d-flex align-items-center">
Become a C Master </a>
</div>
<div class="sub-menu__link__row">
<a title="Become a Python Master"
href="https://programiz.pro/learn/master-python?utm_source=nav-pro-
button&utm_campaign=programiz&utm_medium=referral" class="btn btn--gray
btn--small btn--block d-flex align-items-center">
Become a Python Master </a>
</div>
<a title="Try for Free"
href="https://programiz.pro/catalog/languages/java?utm_source=nav-pro-
button&utm_campaign=programiz&utm_medium=referral" class="d-flex align-
items-center font-weight-500 view-all-courses-challenges">
View all Courses
<svg class="programiz-icon programiz-icon--small ml-
2x"><use xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-
right"></use></svg></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sub-menu__links">
<!-- Popular tutorials -->
<div class="sub-menu__links__column sub-
menu__links__column--left">
<h4 class="sub-menu__links__column__title">Popular
Tutorials</h4>
<div class="sub-menu__link">
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title='Java "Hello World" Program' href="/java-
programming/hello-world" class="sub-menu__link__column">Java "Hello World"
Program</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Java for Loop" href="/java-programming/for-
loop" class="sub-menu__link__column">Java for Loop</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Arrays in Java"
href="/java-programming/arrays" class="sub-menu__link__column">Arrays in Java</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Interfaces in Java" href="/java-
programming/class-objects" class="sub-menu__link__column">Interfaces in Java</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Java ArrayList"
href="/java-programming/arraylist" class="sub-menu__link__column">Java
ArrayList</a>
</div>
</div>
</div>
<a title="Java tutorials" href="/java-programming" class="d-
flex align-items-center font-weight-500 d-lg-none">
Start Learning Java <svg
class="programiz-icon programiz-icon--small ml-2x"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
<a title="All Java tutorials" href="/java-programming"
class="d-flex align-items-center font-weight-600 article-font-size sub-menu-all-
tutorials-link">
<span>
All Java Tutorials
</span>
<svg class="programiz-icon programiz-icon--medium"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
<!-- <a title="Java tutorials" href="/java-programming"
class="d-flex align-items-center font-weight-500">
View all tutorials
<svg class="programiz-icon programiz-icon--small ml-2x">
<use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right">
</use>
</svg>
</a> -->
</div>
<div class="sub-menu__link__row">
<a title="String"
href="/java-programming/library/string" class="btn btn--gray btn--small btn--block
d-flex align-items-center">
String <svg
class="programiz-icon programiz-icon--small ml-auto"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
</div>
<div class="sub-menu__link__row">
<a title="ArrayList"
href="/java-programming/library/arraylist" class="btn btn--gray btn--small btn--
block d-flex align-items-center">
ArrayList <svg
class="programiz-icon programiz-icon--small ml-auto"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
</div>
<div class="sub-menu__link__row">
<a title="HashMap"
href="/java-programming/library/hashmap" class="btn btn--gray btn--small btn--block
d-flex align-items-center">
HashMap <svg
class="programiz-icon programiz-icon--small ml-auto"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
</div>
<div class="sub-menu__link__row">
<a title="Math" href="/java-programming/library/math"
class="btn btn--gray btn--small btn--block d-flex align-items-center">
Math <svg
class="programiz-icon programiz-icon--small ml-auto"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
</div>
</div>
<a title="Java References" href="/java-programming/library"
class="d-flex align-items-center font-weight-500">
View all
<svg class="programiz-icon programiz-icon--small ml-
2x"><use xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-
right"></use></svg></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tabbed-link-container">
<div class="tabbed-link">
<a title="Python" href="javascript:void(0);" class="tabbed-
link__node " data-language="python">Python</a>
</div>
<div class="tabbed-link">
<a title="JavaScript" href="javascript:void(0);" class="tabbed-
link__node " data-language="javascript">JavaScript</a>
</div>
<div class="tabbed-link">
<a title="C" href="javascript:void(0);" class="tabbed-
link__node " data-language="c">C</a>
</div>
<div class="tabbed-link">
<a title="C++" href="javascript:void(0);" class="tabbed-
link__node " data-language="cpp">C++</a>
</div>
<div class="tabbed-link">
<a title="Java" href="javascript:void(0);" class="tabbed-
link__node tabbed-link__node--active" data-language="java">Java</a>
</div>
<div class="tabbed-link">
<a title="Kotlin" href="javascript:void(0);" class="tabbed-
link__node " data-language="kotlin">Kotlin</a>
</div>
</div>
</div>
<div class="tabbed-content__right">
<div class="sub-menu__contents sub-menu__contents--java"
id="examples-java">
<div class="sub-menu__cta">
<div class="d-flex sub-menu--desktop-banner">
<p class="h3-font">Learn Java practically <br>
and <span class="get-certified-text">Get
Certified</span>.</p>
<a class="pro-link body14-font-size font-weight-700"
href="https://programiz.pro/learn/master-java?utm_source=nav-example-
button&utm_campaign=programiz&utm_medium=referral" target="_blank">ENROLL
FOR FREE!</a>
</div>
<button class="btn btn--skeleton">
<svg class="programiz-icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#x"></use></
svg></button>
</div>
<div class="sub-menu__links">
<div class="sub-menu__links__column sub-menu__links__column--
left">
<h4 class="sub-menu__links__column__title">Popular
Examples</h4>
<div class="sub-menu__link">
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Check prime number"
href="/java-programming/examples/prime-number" class="sub-menu__link__column">Check
prime number</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Print the Fibonacci series" href="/java-
programming/examples/fibonacci-series" class="sub-menu__link__column">Print the
Fibonacci series</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Print Pyramids and Patterns" href="/java-
programming/examples/pyramid-pattern" class="sub-menu__link__column">Print Pyramids
and Patterns</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Multiply two matrices" href="/java-
programming/examples/multiplication-table" class="sub-menu__link__column">Multiply
two matrices</a>
</div>
</div>
<div class="sub-menu__link__row">
<div class="sub-menu__link__column">
<a title="Find the standard deviation" href="/java-
programming/examples/standard-deviation" class="sub-menu__link__column">Find the
standard deviation</a>
</div>
</div>
</div>
<a title="Java Examples" href="/java-programming/examples"
class="align-items-center font-weight-600 article-font-size sub-menu-all-tutorials-
link d-none d-lg-flex">
<span>
All Java Examples
</span>
<svg class="programiz-icon programiz-icon--small ml-2x"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#arrow-right"></
use></svg></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="program-description">
<p class="mb-5x">Java is a powerful general-purpose programming
language. It is used to develop desktop and mobile applications, big data
processing, embedded systems, and so on. According to Oracle, the company that owns
Java, Java runs on 3 billion devices worldwide, which makes Java one of the most
popular programming languages.</p>
<p>Our Java tutorial will guide you to learn Java one step at a time.</p>
<p><strong>Don't know how to start learning Java the right way?</strong> Enroll in
our <a href="https://programiz.pro/learn/master-java?utm_source=landing-page-
body&utm_campaign=programiz&utm_medium=referral">Interactive Java
Course</a> for FREE.</p>
</div>
</div>
</div>
</div>
</div>
<style>
#div-gpt-ad-Programizcom36792 {display:none; }
@media(min-width: 992px) { #div-gpt-ad-Programizcom36792 {display: block;} }
</style><div id="div-gpt-ad-Programizcom36792" style="width:300px; margin: 40px
0;">
</div>
</div>
<div class="right-bar">
<div class="card-alt mb-9x" id="introduction">
<h3>Java Introduction</h3>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/hello-world" title="Java Hello
World"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Hello World</a></li>
<li><a href="/java-programming/jvm-jre-jdk" title="Java
JVM, JRE and JDK"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java JVM, JRE and JDK</a></li>
<li><a href="/java-programming/variables-literals"
title="Java Variables and Literals"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Variables</a></li>
<li><a href="/java-programming/variables-primitive-data-
types" title="Java Primitive Data Types"><span class="icon-wrap"><svg
class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Data Types</a></li>
<li><a href="/java-programming/operators" title="Java
Operators"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Operators</a></li>
<li><a href="/java-programming/basic-input-output"
title="Java Input and Output"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Input and Output</a></li>
<li><a href="/java-programming/expressions-statements-
blocks" title="Java Expressions & Statements"><span class="icon-wrap"><svg
class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Expressions & Blocks</a></li>
<li><a href="/java-programming/comments" title="Java
Comments"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Comment</a></li>
</ul></div>
</div>
</div>
<style>
#div-gpt-ad-Programizcom36791 {display:none; }
#div-gpt-ad-Programizcom36795 {display: block; width: 300px; height: 250px;
margin: 32px auto;}
@media(min-width: 992px) { #div-gpt-ad-Programizcom36791 {display: block;
width: 728px; height: 90px; margin:32px auto;} #div-gpt-ad-Programizcom36795
{display: none;}}
</style><div id="div-gpt-ad-Programizcom36791">
</div>
<div id="div-gpt-ad-Programizcom36795">
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/if-else-statement" title="Java
if...else Statement"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java if...else</a></li>
<li><a href="/java-programming/switch-statement"
title="switch Statement in Java"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java switch Statement</a></li>
<li><a href="/java-programming/for-loop" title="Java for
Loop"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java for Loop</a></li>
<li><a href="/java-programming/enhanced-for-loop"
title="Java enhanced for loop Statement"><span class="icon-wrap"><svg
class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java for-each Loop</a></li>
<li><a href="/java-programming/do-while-loop" title="Java
while Loop"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java while Loop</a></li>
<li><a href="/java-programming/break-statement" title="Java
break Statement"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java break Statement</a></li>
<li><a href="/java-programming/continue-statement"
title="Java continue Statement"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java continue Statement</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/arrays" title="Java
Arrays"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Arrays</a></li>
<li><a href="/java-programming/multidimensional-array"
title="Java multidimensional-array"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Multidimensional Array</a></li>
<li><a href="/java-programming/copy-arrays" title="Java
copy arrays"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Copy Array</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/class-objects" title="Java
Class and Objects"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Class and Objects</a></li>
<li><a href="/java-programming/methods" title="Java
Methods"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Methods</a></li>
<li><a href="/java-programming/constructors" title="Java
Constructors"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Constructor</a></li>
<li><a href="/java-programming/string" title="Java
Strings"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Strings</a></li>
<li><a href="/java-programming/access-modifiers"
title="Java Access Modifiers"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Access Modifiers</a></li>
<li><a href="/java-programming/this-keyword" title="Java
this keyword"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java this keyword</a></li>
<li><a href="/java-programming/final-keyword" title="Java
final keyword"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java final keyword</a></li>
<li><a href="/java-programming/recursion" title="Java
Recursion"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Recursion</a></li>
<li><a href="/java-programming/instanceof" title="Java
instanceof"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java instanceof Operator</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/inheritance" title="Java
inheritance"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Inheritance</a></li>
<li><a href="/java-programming/method-overriding"
title="Java Method Overriding"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Method Overriding</a></li>
<li><a href="/java-programming/super-keyword" title="Java
super Keyword"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java super Keyword</a></li>
<li><a href="/java-programming/abstract-classes-methods"
title="Java Abstract Classes and Methods"><span class="icon-wrap"><svg
class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Abstract Class & Method</a></li>
<li><a href="/java-programming/interfaces" title="Java
Interfaces"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Interfaces</a></li>
<li><a href="/java-programming/polymorphism" title="Java
Polymorphism"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Polymorphism</a></li>
<li><a href="/java-programming/encapsulation" title="Java
Encapsulation"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Encapsulation</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/nested-inner-class"
title="Java Nested and Inner Class"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Nested & Inner Class</a></li>
<li><a href="/java-programming/static-class" title="Java
static Class"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Static Class</a></li>
<li><a href="/java-programming/anonymous-class" title="Java
Anynomous Class"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Anonymous Class</a></li>
<li><a href="/java-programming/singleton" title="Java
Singleton"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Singleton</a></li>
<li><a href="/java-programming/enums" title="Java enum
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java enum Class</a></li>
<li><a href="/java-programming/enum-constructor"
title="Java enum Constructor"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java enum Constructor</a></li>
<li><a href="/java-programming/enum-string" title="Java
enum String"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java enum String</a></li>
<li><a href="/java-programming/reflection" title="Java
Reflection"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Reflection</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/exceptions" title="Java
exceptions"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Exceptions</a></li>
<li><a href="/java-programming/exception-handling"
title="Java Exception Handling"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Exception Handling</a></li>
<li><a href="/java-programming/try-catch" title="Java
try...catch"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java try...catch</a></li>
<li><a href="/java-programming/throw-throws" title="Java
throw and throws"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java throw and throws</a></li>
<li><a href="/java-programming/multiple-exceptions"
title="Java Catch Multiple Exceptions"><span class="icon-wrap"><svg
class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java catch Multiple Exceptions</a></li>
<li><a href="/java-programming/try-with-resources"
title="Java try-with-resources"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java try-with-resources</a></li>
<li><a href="/java-programming/annotations" title="Java
Annotations"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Annotations</a></li>
<li><a href="/java-programming/annotation-types"
title="Java Annotation Types"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Annotation Types</a></li>
<li><a href="/java-programming/logging" title="Java
Logging"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Logging</a></li>
<li><a href="/java-programming/assertions" title="Java
Assertions"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Assertions</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/collections" title="Java
Collections FrameWork"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Collections Framework</a></li>
<li><a href="/java-programming/collection-interface"
title="Java Collection Interface"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Collection Interface</a></li>
<li><a href="/java-programming/list" title="Java List
Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java List Interface</a></li>
<li><a href="/java-programming/arraylist" title="Java
ArrayList"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ArrayList</a></li>
<li><a href="/java-programming/vector" title="Java
Vector"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Vector</a></li>
<li><a href="/java-programming/stack" title="Java
Stack"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Stack</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/queue" title="Java Queue
Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Queue Interface</a></li>
<li><a href="/java-programming/priorityqueue" title="Java
PriorityQueue Interface"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java PriorityQueue Interface</a></li>
<li><a href="/java-programming/deque" title="Java Deque
Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Deque Interface</a></li>
<li><a href="/java-programming/linkedlist" title="Java
LinkedList"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java LinkedList</a></li>
<li><a href="/java-programming/arraydeque" title="Java
ArrayDeque"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ArrayDeque</a></li>
<li><a href="/java-programming/blockingqueue" title="Java
BlockingQueue Interface"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java BlockingQueue Interface</a></li>
<li><a href="/java-programming/arrayblockingqueue"
title="Java ArrayBlockingQueue"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ArrayBlockingQueue</a></li>
<li><a href="/java-programming/linkedblockingqueue"
title="Java LinkedBlockingQueue"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java LinkedBlockingQueue</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/map" title="Java Map
Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Map Interface</a></li>
<li><a href="/java-programming/hashmap" title="Java HashMap
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java HashMap</a></li>
<li><a href="/java-programming/linkedhashmap" title="Java
LinkedHashMap class"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java LinkedHashMap</a></li>
<li><a href="/java-programming/weakhashmap" title="Java
WeakHashMap class"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java WeakHashMap</a></li>
<li><a href="/java-programming/enummap" title="Java EnumMap
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java EnumMap</a></li>
<li><a href="/java-programming/sortedmap" title="Java
SortedMap Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java SortedMap Interface</a></li>
<li><a href="/java-programming/navigablemap" title="Java
NavigableMap Interface"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java NavigableMap Interface</a></li>
<li><a href="/java-programming/treemap" title="Java TreeMap
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java TreeMap</a></li>
<li><a href="/java-programming/concurrentmap" title="Java
concurrentMap Interface"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ConcurrentMap Interface</a></li>
<li><a href="/java-programming/concurrenthashmap"
title="Java ConcurrentHashMap Class"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java ConcurrentHashMap</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/set" title="Java Set
Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Set Interface</a></li>
<li><a href="/java-programming/hashset" title="Java HashSet
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java HashSet</a></li>
<li><a href="/java-programming/enumset" title="Java EnumSet
class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java EnumSet</a></li>
<li><a href="/java-programming/linkedhashset" title="Java
LinkedHashSet class"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java LinkedHashSet</a></li>
<li><a href="/java-programming/sortedset" title="Java
SortedSet Interface"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java SortedSet Interface</a></li>
<li><a href="/java-programming/navigableset" title="Java
NavigableSet Interface"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java NavigableSet Interface</a></li>
<li><a href="/java-programming/treeset" title="Java TreeSet
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java TreeSet</a></li>
<li><a href="/java-programming/algorithms" title="Java
Algorithms"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Algorithms</a></li>
<li><a href="/java-programming/iterator" title="Java
Iterator"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Iterator</a></li>
<li><a href="/java-programming/listiterator" title="Java
ListIterator"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ListIterator</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/io-streams" title="Java I/O
Streams"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java I/O Streams</a></li>
<li><a href="/java-programming/inputstream" title="Java
InputStream"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java InputStream</a></li>
<li><a href="/java-programming/outputstream" title="Java
OutputStream"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java OutputStream</a></li>
<li><a href="/java-programming/fileinputstream" title="Java
FileInputStream"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java FileInputStream</a></li>
<li><a href="/java-programming/fileoutputstream"
title="Java FileOutputStream"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java FileOutputStream</a></li>
<li><a href="/java-programming/bytearrayinputstream"
title="Java ByteArrayInputStream"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java ByteArrayInputStream</a></li>
<li><a href="/java-programming/bytearrayoutputstream"
title="Java ByteArrayOutputStream"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java ByteArrayOutputStream</a></li>
<li><a href="/java-programming/objectinputstream"
title="Java ObjectInputStream"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ObjectInputStream</a></li>
<li><a href="/java-programming/objectoutputstream"
title="Java ObjectOutputStream"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java ObjectOutputStream</a></li>
<li><a href="/java-programming/bufferedinputstream"
title="Java BufferedInputStream"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java BufferedInputStream</a></li>
<li><a href="/java-programming/bufferedoutputstream"
title="Java BufferedOutputStream"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java BufferedOutputStream</a></li>
<li><a href="/java-programming/printstream" title="Java
PrintStream"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java PrintStream</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/reader" title="Java
Reader"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Reader</a></li>
<li><a href="/java-programming/writer" title="Java
Writer"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Writer</a></li>
<li><a href="/java-programming/inputstreamreader"
title="Java InputStreamReader"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java InputStreamReader</a></li>
<li><a href="/java-programming/outputstreamwriter"
title="Java OutputStreamWriter"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java OutputStreamWriter</a></li>
<li><a href="/java-programming/filereader" title="Java
FileReader"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java FileReader</a></li>
<li><a href="/java-programming/filewriter" title="Java
FileWriter"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java FileWriter</a></li>
<li><a href="/java-programming/bufferedreader" title="Java
BufferedReader"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java BufferedReader</a></li>
<li><a href="/java-programming/bufferedwriter" title="Java
BufferedWriter"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java BufferedWriter</a></li>
<li><a href="/java-programming/stringreader" title="Java
StringReader"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java StringReader</a></li>
<li><a href="/java-programming/stringwriter" title="Java
StringWriter"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java StringWriter</a></li>
<li><a href="/java-programming/printwriter" title="Java
PrintWriter"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java PrintWriter</a></li>
</ul></div>
</div>
</div>
<div class="cart-alt__contents">
<div class="progress-list">
<ul><li><a href="/java-programming/scanner" title="Java Scanner
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Scanner Class</a></li>
<li><a href="/java-programming/typecasting" title="Java
Type Casting"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Type Casting</a></li>
<li><a href="/java-programming/autoboxing-unboxing"
title="Java autoboxing and unboxing"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java autoboxing and unboxing</a></li>
<li><a href="/java-programming/lambda-expression"
title="Java Lambda Expressions"><span class="icon-wrap"><svg class="programiz-icon
progress-list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Lambda Expression</a></li>
<li><a href="/java-programming/generics" title="Java
Generics"><span class="icon-wrap"><svg class="programiz-icon progress-
list__icon"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#check-small"></use></svg></span>Java Generics</a></li>
<li><a href="/java-programming/file" title="Java
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java File Class</a></li>
<li><a href="/java-programming/wrapper" title="Java Wrapper
Class"><span class="icon-wrap"><svg class="programiz-icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Wrapper Class</a></li>
<li><a href="/java-programming/command-line-arguments"
title="Java Command Line Arguments"><span class="icon-wrap"><svg class="programiz-
icon progress-list__icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#check-small"></
use></svg></span>Java Command Line Arguments</a></li>
</ul></div>
</div>
</div>
<style>
#div-gpt-ad-Programizcom37046 {display:none; }
#div-gpt-ad-Programizcom36796 {display: block; width: 300px; height: 250px;
margin: 30px auto;}
@media(min-width: 992px) { #div-gpt-ad-Programizcom37046 {display: block;
width: 728px; height: 90px; margin: 30px auto;} #div-gpt-ad-Programizcom36796
{display: none;}}
</style><div id="div-gpt-ad-Programizcom37046">
</div>
<div id="div-gpt-ad-Programizcom36796">
</div>
<div class="editor-contents">
<hr><h2 id="about">About Java Programming</h2>
<div class="get-app-link-wrapper">
<a class="get-app-link" href="https://programiz.pro/learn/master-java?
utm_source=right-floating-block&utm_campaign=programiz&utm_medium=referral"
target="_blank" rel="nofollow">
<img class="app-link-items app-logo app-link-items--open-state"
src="//cdn.programiz.com/cdn/farfuture/MtYlOFkrVOnvkBKwjr9-
FzyGYZCliWNSGWSNjaC3Vwo/mtime:1582195806/sites/all/themes/programiz/assets/
sp_logo.svg"><p class="app-link-items app-text app-link-items--closed-state">Try
PRO for FREE</p>
<p class="app-link-items app-text app-link-items--open-state">Learn Java
Interactively</p>
<button class="app-link-items btn app-close-icon app-link-items--open-state"
type="button">
<svg class="programiz-icon"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#x"></use></
svg></button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="mauticform_generalsubscribersformmobile_email1"
class="mauticform-row mauticform-email mauticform-field-1 mauticform-required
input-group" data-validate="email1" data-validation-type="email">
<input id="mauticform_input_generalsubscribersformmobile_email1"
name="mauticform[email1]" value="" placeholder="Enter Email Address*"
class="mauticform-input input-group__control" type="email"><span class="mauticform-
errormsg" style="display: none;">This is required.</span>
</div>
<div id="mauticform_generalsubscribersformmobile_submit"
class="mauticform-row mauticform-button-wrapper mauticform-field-2 input-group">
<button type="submit" name="mauticform[submit]"
id="mauticform_input_generalsubscribersformmobile_submit" value=""
class="mauticform-button input-group__action btn btn--primary">Join</button>
</div>
</div>
</div>
<div class="row">
<div class="col-xl-4 col-lg-5 col-md-6 d-none d-md-block">
<div class="footer__content">
<object class="footer__logo"
data="//cdn.programiz.com/sites/all/themes/programiz/assets/logo_white.svg"
type="image/svg+xml"></object>
<div class="mauticform_wrapper"
id="mauticform_wrapper_generalsubscribersform">
<form action="https://email.programiz.com/form/submit?formId=6"
autocomplete="false" class="footer__form" data-mautic-form="generalsubscribersform"
enctype="multipart/form-data" id="mauticform_generalsubscribersform" method="post"
role="form">
<div class="mauticform-error"
id="mauticform_generalsubscribersform_error"></div>
<div class="mauticform-message"
id="mauticform_generalsubscribersform_message"></div>
<div class="mauticform-innerform">
<div class="footer__form__title">Join our newsletter for the latest
updates.</div>
<div class="mauticform-page-wrapper mauticform-page-1 input-group"
data-mautic-form-page="1">
<div class="mauticform-row mauticform-email mauticform-field-1
mauticform-required input-group" data-validate="email1" data-validation-
type="email" id="mauticform_generalsubscribersform_email1">
<input class="mauticform-input input-group__control"
id="mauticform_input_generalsubscribersform_email1" name="mauticform[email1]"
placeholder="Enter Email Address*" type="email" value=""><span class="mauticform-
errormsg" style="display: none;">This is required.</span>
</div>
<div class="mauticform-row mauticform-button-wrapper mauticform-
field-2 input-group" id="mauticform_generalsubscribersform_submit">
<button class="mauticform-button input-group__action btn btn--
primary" id="mauticform_input_generalsubscribersform_submit"
name="mauticform[submit]" type="submit" value="">Join</button>
</div>
</div>
</div>
<input id="mauticform_generalsubscribersform_id"
name="mauticform[formId]" type="hidden" value="6"><input
id="mauticform_generalsubscribersform_return" name="mauticform[return]"
type="hidden" value=""><input id="mauticform_generalsubscribersform_name"
name="mauticform[formName]" type="hidden" value="generalsubscribersform"></form>
</div>
<div class="footer__vendor-btn">
<div class="footer__vendor-btn__row">
<a href="https://play.google.com/store/apps/dev?
id=8227237868464522664&referrer=utm_campaign%3Dprogramiz-footer%26utm_source
%3Dprogramiz-website" title="Programiz Apps on Play Store" rel="noopener"
target="_blank">
<img class="app-download-btn app-download-btn--offset"
src="//cdn.programiz.com/sites/tutorial2program/files/playstore.svg" height="39"
width="138"></a>
</div>
<div class="footer__vendor-btn__row">
<a
href="https://apps.apple.com/us/developer/parewa-labs-pvt-ltd/id1472188188&ct=p
rogramiz-footer&mt=8" title="Programiz Apps on App Store" rel="noopener"
target="_blank">
<img class="app-download-btn"
src="//cdn.programiz.com/sites/all/themes/programiz/assets/appstore.svg"
height="39" width="138"></a>
</div>
</div>
</div>
</div>
</ul></div>
</div>
<div class="footer__vendor-btn__row">
<a
href="https://apps.apple.com/us/developer/parewa-labs-pvt-ltd/id1472188188&ct=p
rogramiz-footer&mt=8" title="Programiz Apps on App Store" target="_blank"
rel="noopener">
<img class="app-download-btn"
src="//cdn.programiz.com/cdn/farfuture/G0ZBnGKr9e0xtuBVtFKkEKiLZtcp92YYJhqcPpBgFXU/
mtime:1592900945/sites/all/themes/programiz/assets/appstore.svg" height="39"
width="138"></a>
</div>
</div>
</div>
<div class="footer__end">
<p class="copyright-text">© Parewa Labs Pvt. Ltd. All rights reserved.</p>
<div class="social-icons">
<a class="social-icons__links" href="https://www.facebook.com/programiz"
title="Programiz on Facebook"><svg class="programiz-icon programiz-icon--
small"><use xlink:href="/sites/all/themes/programiz/assets/feather-
sprite.svg#facebook"></use></svg></a>
<a class="social-icons__links" href="https://www.instagram.com/_programiz/"
title="Programiz on Instagram">
<svg class="programiz-icon programiz-icon--small"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#instagram"></
use></svg></a>
<a class="social-icons__links"
href="https://www.linkedin.com/company/programiz" title="Programiz on Linkedin">
<svg class="programiz-icon programiz-icon--small"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#linkedin"></
use></svg></a>
<a class="social-icons__links" href="https://twitter.com/programiz"
title="Programiz on Twitter">
<svg class="programiz-icon programiz-icon--small"><use
xlink:href="/sites/all/themes/programiz/assets/feather-sprite.svg#twitter"></
use></svg></a>
</div>
</div>
</div>
<script>
function advagg_mod_2() {
// Count how many times this function is called.
advagg_mod_2.count = ++advagg_mod_2.count || 1;
try {
if (advagg_mod_2.count <= 40) {
(function waitGEO() {
var readyGEO;
if (window['UnicI'] && window['UnicI'].geo && window['UnicI'].geo !== '-') {
readyGEO = true;
console.log(window['UnicI'].geo);
if (window['UnicI'].geo === 'EU') {
if (document.getElementById("unic-gdpr")) {
document.getElementById("unic-gdpr").style.display = 'block';
}
}
if (window['UnicI'].geo === 'CA') {
if (document.getElementById("unic-ccpa")) {
document.getElementById("unic-ccpa").style.display = 'block';
}
}
}
if (!readyGEO) {
setTimeout(waitGEO, 200);
}
})();
<h3 class="pop-up-block__header-summer">
60% OFF
</h3>
<h3 class="pop-up-block__subheader-summer">
Sep 23 to 30
</h3>
<div class="pop-up-block--cta-summer-block">
<p class="pop-up-block--cta-summer-block__info">
Take advantage of Price Hike SALE<span></span> on Programiz PRO.
</p>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TKXT7MH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</footer></main>
<script type="text/javascript"
src="//cdn.programiz.com/sites/tutorial2program/files/advagg_js/js__IRKvqhfnH28lfKS
oojb2Zt5yNFztv71Ttm-n2WHgYGE__tDmd9jh-
9E4CQtZulyGAmhfNZBJm8vVdgIYG4DiISCk__DdD1UdeKEXumScAwIBnmVuP-
kOInkxJzYmsYbmVxHfk.js" defer="defer"></script>
<script type="text/javascript"
src="//cdn.programiz.com/sites/tutorial2program/files/advagg_js/js__--
0Z8Ko2Ouantt4UUbDD1guuMHUWwLlSlrZ6GNz8h-
g__PK2cfMIA5VvN9akHYyfRTdjVyQ6O1YKYlNcDqBdggGQ__DdD1UdeKEXumScAwIBnmVuP-
kOInkxJzYmsYbmVxHfk.js" defer="defer"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
function advagg_mod_4(){advagg_mod_4.count=++advagg_mod_4.count||
1;try{if(advagg_mod_4.count<=40){var base_path='/';var
module_path='sites/all/modules/programiz_rate_share';advagg_mod_4.count=100;}}
catch(e){if(advagg_mod_4.count>=40){throw e;}
else{window.setTimeout(advagg_mod_4,250);}}}
function advagg_mod_4_check()
{if(window.jQuery&&window.Drupal&&window.Drupal.settings){advagg_mod_4();}
else{window.setTimeout(advagg_mod_4_check,250);}}
advagg_mod_4_check();
//--><!]]>
</script>
</body>
</html>