{"id":13008,"date":"2022-10-05T15:16:39","date_gmt":"2022-10-05T09:46:39","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=13008"},"modified":"2022-10-05T15:16:41","modified_gmt":"2022-10-05T09:46:41","slug":"top-java-8-features-you-should-know","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/top-java-8-features-you-should-know\/","title":{"rendered":"Top Java 8 Features You Should Know"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Oranienbaum&amp;family=Darker+Grotesque&amp;family=Roboto%3Awght%40700&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAi\/thinker-dlubal.gif\" rel=\"preload\" as=\"image\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }<\/p>\n<p>              amp-story-captions span {\n                display: inline-block;\n                margin: 0;\n                padding: 6px 12px;\n                vertical-align: middle;\n                border-radius: 15px;\n                background: rgba(11, 11, 11, 0.6);\n                color: rgba(255, 255, 255, 1);\n                font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;;\n                font-size: calc(4 * var(--story-page-vw));\n                line-height: 1.4;\n                word-break: break-word;\n                word-wrap: break-word;\n                overflow-wrap: break-word;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>Top Java 8 Features You Should Know<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&amp;p=13008\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"InterviewBit\" publisher-logo-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/cropped-tumblr-logo.png\" title=\"Top Java 8 Features You Should Know\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/10\/cropped-Java-8-Features.png\"><amp-story-page id=\"039bee5f-dd9a-4634-90e1-781b45874a59\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#2a3330\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-4b236251-1282-4c8c-a2cc-5e7582ed83f3\">\n<div style=\"position:absolute;width:185.67901%;height:100%;left:-42.83951%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAi\/thinker-dlubal.gif\" alt=\"Thinker Dlubal Sticker\" srcSet=\"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAi\/thinker-dlubal.gif 376w,https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAj\/thinker-dlubal.gif 200w,https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAk\/thinker-dlubal.gif 81w\" sizes=\"(min-width: 1024px) 84vh, 186vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:7.52427%;top:20.22654%;width:40.7767%;height:52.42718%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1c026386-ead9-4c90-b386-bd53f6e970b9\">\n<div style=\"position:absolute;width:105.33562%;height:100%;left:-2.66781%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAi\/java-coffee.gif\" alt=\"Java Coffee Sticker\" srcSet=\"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAi\/java-coffee.gif 272w,https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAj\/java-coffee.gif 109w,https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAk\/java-coffee.gif 49w\" sizes=\"(min-width: 1024px) 18vh, 41vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.5534%;top:75.08091%;width:83.73786%;height:27.83172%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5797101449275363% 0.5797101449275363% 0.5797101449275363% 0.5797101449275363% \/ 1.1627906976744187% 1.1627906976744187% 1.1627906976744187% 1.1627906976744187%\" id=\"el-e0f383a5-b14a-45a7-8abf-373611692163\">\n<h1 id=\"the-top-features-you-need-to-know\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.143478260869564% 0;font-family:&quot;Oranienbaum&quot;,serif;font-size:0.938511em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">The Top Features You Need to Know<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-5.17799%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-7e3ad868-b222-491f-9044-3682ee3ff9da\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:50%;top:44.82201%;width:42.96117%;height:27.83172%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-97ddad2d-edf6-497a-995d-375ed701e896\">\n<div style=\"position:absolute;width:108.10016%;height:100%;left:-4.05008%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAi\/dancing-number-dancing-letter.gif\" alt=\"Dancing Number Dancing Letter Sticker\" srcSet=\"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAi\/dancing-number-dancing-letter.gif 188w,https:\/\/media.tenor.com\/d3HlvsnflX0AAAAk\/dancing-number-dancing-letter.gif 90w\" sizes=\"(min-width: 1024px) 19vh, 43vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"f4981294-aa5d-488c-8a6c-880eb6a310bc\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-74f443dc-5bfc-452b-968c-c6224a3e8fad\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-7b8ad1bb-39fb-4d1b-a00c-3e0d88c68d96\",\"keyframes\":{\"transform\":[\"translate3d(0px, -310.92175%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-0ac4b53b-3253-47b1-9a17-b21b0f799536\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-88821808-7b12-4a9d-92c2-64c259e6fa1f\",\"keyframes\":{\"transform\":[\"translate3d(0px, -291.37776%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6f45da24-16a2-4de9-9a64-e277ed97382f [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(14.839606445457761%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.14,.34,.47,.9)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-6f45da24-16a2-4de9-9a64-e277ed97382f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-442d1539-fb29-492a-86a1-9e51a6b48c28\">\n<div style=\"position:absolute;width:142.20546%;height:100%;left:-21.10273%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3394&amp;h=4243&amp;fit=max\" alt=\"media\/unsplash:QUHuwyNgSA0\" srcSet=\"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3394&amp;h=4243&amp;fit=max 3394w,https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2715&amp;h=3394&amp;fit=max 2715w,https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2036&amp;h=2545&amp;fit=max 2036w,https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1357&amp;h=1696&amp;fit=max 1357w,https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=678&amp;h=848&amp;fit=max 678w,https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=425&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 64vh, 142vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-18.4466%;top:45.14563%;width:141.01942%;height:44.01294%;transform:rotate(10deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-9f028cbd-4cdf-4c37-b25d-cc1badc384b0\">\n<div class=\"fill\" style=\"background-color:rgba(201,24,74,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-747a5370-3a95-4a7f-a148-b0f6146a6c43\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.58252%;top:50.80906%;width:89.32039%;height:28.47896%;opacity:1\">\n<div id=\"anim-74f443dc-5bfc-452b-968c-c6224a3e8fad\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-7b8ad1bb-39fb-4d1b-a00c-3e0d88c68d96\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -310.92175%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5434782608695652% 0.5434782608695652% 0.5434782608695652% 0.5434782608695652% \/ 1.1363636363636365% 1.1363636363636365% 1.1363636363636365% 1.1363636363636365%\" id=\"el-e7c1e468-0b2f-424a-a0ce-637c4d6f0af8\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8586956521739129% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Java 8 introduces functional interfaces having single abstract method, and lambda expressions can easily implement functional interfaces by implementing their abstract method.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.58252%;top:29.44984%;width:88.83495%;height:20.22654%;opacity:1\">\n<div id=\"anim-0ac4b53b-3253-47b1-9a17-b21b0f799536\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-88821808-7b12-4a9d-92c2-64c259e6fa1f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -291.37776%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.546448087431694% 0.546448087431694% 0.546448087431694% 0.546448087431694% \/ 1.6% 1.6% 1.6% 1.6%\" id=\"el-6e9d2941-9828-4fb0-9659-31fedc6f84fc\">\n<h2 id=\"1-functional-interfaces-and-lambda-expressions\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13447745901639344% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.566343em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Functional Interfaces And Lambda Expressions<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"7475a312-090b-4904-a1e7-c092b5a9d208\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-41c47a02-09b5-4029-a1e9-e2f9bd5c366a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8e68d24b-1fa7-463d-b4bb-09e31afa661d\",\"keyframes\":{\"transform\":[\"translate3d(0px, -318.30811%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d569a33e-d197-4276-8b9a-11068bb94d2e\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9f9cbf7f-5bd9-4fe7-9b5a-569f6d0a3378\",\"keyframes\":{\"transform\":[\"translate3d(0px, -451.49047%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-10fbc765-70ca-487a-a6f9-d7511e3f70bc [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.812499744007886%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.14,.34,.47,.9)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-10fbc765-70ca-487a-a6f9-d7511e3f70bc\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-7cf9d1d8-3d90-467c-8891-d45926c8b211\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"woman leaning at the table\" srcSet=\"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-18.4466%;top:45.14563%;width:141.01942%;height:44.01294%;transform:rotate(10deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-08031ec8-d946-48a5-bbc2-299059b64194\">\n<div class=\"fill\" style=\"background-color:rgba(201,24,74,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1eb04eda-4de0-497e-8d0f-9b16d4614b1b\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.82524%;top:37.37864%;width:89.56311%;height:13.26861%;opacity:1\">\n<div id=\"anim-d569a33e-d197-4276-8b9a-11068bb94d2e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-9f9cbf7f-5bd9-4fe7-9b5a-569f6d0a3378\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -451.49047%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5420054200542005% 0.5420054200542005% 0.5420054200542005% 0.5420054200542005% \/ 2.4390243902439024% 2.4390243902439024% 2.4390243902439024% 2.4390243902439024%\" id=\"el-92323a30-9666-41cd-bab3-47339f012ed8\">\n<h2 id=\"2-foreach-method-in-iterable-interface\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13338414634146342% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.566343em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. forEach() Method In Iterable Interface<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.82524%;top:52.91262%;width:89.56311%;height:28.47896%;opacity:1\">\n<div id=\"anim-41c47a02-09b5-4029-a1e9-e2f9bd5c366a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-8e68d24b-1fa7-463d-b4bb-09e31afa661d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -318.30811%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5420054200542005% 0.5420054200542005% 0.5420054200542005% 0.5420054200542005% \/ 1.1363636363636365% 1.1363636363636365% 1.1363636363636365% 1.1363636363636365%\" id=\"el-89e0b125-ab89-4efb-bf13-d9d129cc75e2\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8536585365853657% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">&#8220;forEach&#8221; method in Java 8 allow Collection classes to iterate items. The method takes single parameter i.e., functional interface, so lambda expressions can be passed as arguments.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"cd57867d-e34a-4b0c-af12-ad492d46f078\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6ed27e27-c9b6-41f3-8c6b-878751ce18f7\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7227f9b-3310-4fa7-94db-459dec0edb36\",\"keyframes\":{\"transform\":[\"translate3d(0px, -308.08084%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a74b5d41-3d47-44f3-9294-f45ac1fdfaca\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c5098dbd-89fe-4379-bb89-93e6ed41583f\",\"keyframes\":{\"transform\":[\"translate3d(0px, -845.76685%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-504f42fc-5f55-4935-81b3-88425e6c1eb3 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.8337101513764065%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.14,.34,.47,.9)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-504f42fc-5f55-4935-81b3-88425e6c1eb3\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-c92eec27-b2ac-4f27-a3a2-8fc8cb7f05f6\">\n<div style=\"position:absolute;width:118.57814%;height:100%;left:-9.28907%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max\" alt=\"man sitting on chair and looking laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max 5304w,https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4243&amp;h=6361&amp;fit=max 4243w,https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3182&amp;h=4771&amp;fit=max 3182w,https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2121&amp;h=3180&amp;fit=max 2121w,https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1060&amp;h=1589&amp;fit=max 1060w,https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-18.4466%;top:45.14563%;width:141.01942%;height:44.01294%;transform:rotate(10deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-ad3ae145-06a7-4360-8036-5c86df1e0121\">\n<div class=\"fill\" style=\"background-color:rgba(201,24,74,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-4b748d7c-e9dd-4850-a409-e7f8f67ef700\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.09709%;top:41.42395%;width:83.25243%;height:6.79612%;opacity:1\">\n<div id=\"anim-a74b5d41-3d47-44f3-9294-f45ac1fdfaca\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-c5098dbd-89fe-4379-bb89-93e6ed41583f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -845.76685%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5830903790087464% 0.5830903790087464% 0.5830903790087464% 0.5830903790087464% \/ 4.761904761904762% 4.761904761904762% 4.761904761904762% 4.761904761904762%\" id=\"el-33b0ccef-605b-4391-9e54-e786deec1d4c\">\n<h2 id=\"3-optional-class\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1434948979591837% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.566343em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">3. Optional Class<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.09709%;top:50%;width:90.04854%;height:28.47896%;opacity:1\">\n<div id=\"anim-6ed27e27-c9b6-41f3-8c6b-878751ce18f7\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-f7227f9b-3310-4fa7-94db-459dec0edb36\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -308.08084%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5390835579514826% 0.5390835579514826% 0.5390835579514826% 0.5390835579514826% \/ 1.1363636363636365% 1.1363636363636365% 1.1363636363636365% 1.1363636363636365%\" id=\"el-d7e796ac-1eee-4deb-930d-464ae64fed1d\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.84366576819407% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Optional class handles NullPointerExceptions in Java, and allows to pass other code\/values to execute, thereby reducing no. of null checks required to avoid a NullPointerException.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"31fdfdff-2dbc-4ebb-8700-095521d60841\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8fa717ac-c5a8-4e25-8691-74dc76b66071\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-fb96e8c0-b501-4add-b20b-eddde1c58680\",\"keyframes\":{\"transform\":[\"translate3d(0px, -355.18272%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c92f5d06-1d57-4b2c-8eee-7bfaf86c17d6\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e2345727-bcec-4388-ac1b-f27d46b1be00\",\"keyframes\":{\"transform\":[\"translate3d(0px, -451.49047%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-ea9f9f60-f3a0-42ac-97be-32670aa17e23 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.868525640762189%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.14,.34,.47,.9)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-ea9f9f60-f3a0-42ac-97be-32670aa17e23\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e7faba9e-a9a1-4f05-819d-72f2dffc8df2\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"shallow focus photo of woman using MacBook\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-18.4466%;top:45.14563%;width:141.01942%;height:44.01294%;transform:rotate(10deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1c51c6cf-6b74-445e-8eb1-43bf3cd13521\">\n<div class=\"fill\" style=\"background-color:rgba(201,24,74,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-67d2f9e0-a561-4012-ae81-975b4b6245f7\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.33981%;top:37.37864%;width:88.83495%;height:13.26861%;opacity:1\">\n<div id=\"anim-c92f5d06-1d57-4b2c-8eee-7bfaf86c17d6\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-e2345727-bcec-4388-ac1b-f27d46b1be00\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -451.49047%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.546448087431694% 0.546448087431694% 0.546448087431694% 0.546448087431694% \/ 2.4390243902439024% 2.4390243902439024% 2.4390243902439024% 2.4390243902439024%\" id=\"el-8ecb6db1-c9f2-4763-bb85-3ba74eca9b53\">\n<h2 id=\"4-default-and-static-methods-in-interfaces\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13447745901639344% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.566343em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">4. Default And Static Methods In Interfaces<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.33981%;top:52.26537%;width:87.62136%;height:24.11003%;opacity:1\">\n<div id=\"anim-8fa717ac-c5a8-4e25-8691-74dc76b66071\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-fb96e8c0-b501-4add-b20b-eddde1c58680\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -355.18272%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.554016620498615% 0.554016620498615% 0.554016620498615% 0.554016620498615% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-d7950025-27d2-4422-aa84-506fcb59ffca\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8947368421052633% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Java 8 allows you to add non-abstract methods to interfaces. You can create interfaces with method implementation using Default and Static keywords.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a2038da1-4f6d-4882-a4ef-c3b943514b30\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-010944f3-a1a7-48a7-b785-08d69a0645d8\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c4543c9d-2ad6-4308-aad7-47081bea7c0e\",\"keyframes\":{\"transform\":[\"translate3d(0px, -318.30811%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-a200f633-42eb-40f2-90d5-f7fce8fcd463\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4bf2a0aa-e2af-4ce7-a66f-c82acacb371f\",\"keyframes\":{\"transform\":[\"translate3d(0px, -307.37773%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-716ead2c-0567-424a-8438-c5c90088c6df [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate3d(7.770270014021912%, 0, 0) translate(25%, 0%) scale(1.5)\",\"translate3d(0%, 0, 0) translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.14,.34,.47,.9)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-716ead2c-0567-424a-8438-c5c90088c6df\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-729e4bfa-d3c0-4899-b0c5-9a7f13a1f918\">\n<div style=\"position:absolute;width:118.4%;height:100%;left:-9.2%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3996&amp;h=6000&amp;fit=max\" alt=\"sitting man using gadget in room\" srcSet=\"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3996&amp;h=6000&amp;fit=max 3996w,https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3196&amp;h=4799&amp;fit=max 3196w,https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2397&amp;h=3599&amp;fit=max 2397w,https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1598&amp;h=2399&amp;fit=max 1598w,https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=799&amp;h=1200&amp;fit=max 799w,https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=511&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:-18.4466%;top:45.14563%;width:141.01942%;height:44.01294%;transform:rotate(10deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e385aea3-b985-4c6c-a439-34e4da49058c\">\n<div class=\"fill\" style=\"background-color:rgba(201,24,74,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-6.47249%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6c44d3b6-5c37-4f85-a673-822298a4526d\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.82524%;top:32.68608%;width:90.04854%;height:20.22654%;opacity:1\">\n<div id=\"anim-a200f633-42eb-40f2-90d5-f7fce8fcd463\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-4bf2a0aa-e2af-4ce7-a66f-c82acacb371f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -307.37773%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5390835579514826% 0.5390835579514826% 0.5390835579514826% 0.5390835579514826% \/ 1.6% 1.6% 1.6% 1.6%\" id=\"el-109495a0-8b71-44e6-9bee-82cb1faa276a\">\n<h2 id=\"5-java-stream-api-for-bulk-data-operations-on-collections\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13266509433962265% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.566343em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">5. Java Stream API For Bulk Data Operations On Collections<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.58252%;top:52.91262%;width:85.19417%;height:28.47896%;opacity:1\">\n<div id=\"anim-010944f3-a1a7-48a7-b785-08d69a0645d8\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-c4543c9d-2ad6-4308-aad7-47081bea7c0e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -318.30811%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5698005698005698% 0.5698005698005698% 0.5698005698005698% 0.5698005698005698% \/ 1.1363636363636365% 1.1363636363636365% 1.1363636363636365% 1.1363636363636365%\" id=\"el-9bf07e93-8f8e-4621-9957-ea55503438ab\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.948717948717949% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:initial;padding:0;color:#000000\"><span><span style=\"color: #fff\">Java 8 introduces a new Streams API for bulk data operations on elements\/items of Java collections, and enables you to process components of Java collections in parallel.<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"4c8e1b8b-8c10-4ac1-a12e-2ccea42ab439\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-fea5acf4-34ad-445f-81fa-74ee7950e0fd\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f43e09b6-f5b8-49dc-89c8-76511d879428\",\"keyframes\":{\"transform\":[\"translate3d(0px, -189.00076%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#000\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-932d81f9-3344-435d-8526-9cf4034b7a03\">\n<div style=\"position:absolute;width:177.77778%;height:100%;left:-38.88889%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAi\/kroppa-digital.gif\" alt=\"Kroppa Digital Sticker\" srcSet=\"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAi\/kroppa-digital.gif 498w,https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAj\/kroppa-digital.gif 200w,https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAk\/kroppa-digital.gif 90w\" sizes=\"(min-width: 1024px) 80vh, 178vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-image:linear-gradient(0.5turn, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:5.09709%;top:4.20712%;width:19.66019%;height:45.79288%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-767928e9-9468-438e-bb74-51804c911c2c\">\n<h1 id=\"\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:49.876543209876516% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:3.268608em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">\u201c<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:33.65696%;width:81.31068%;height:48.22006%;opacity:1\">\n<div id=\"anim-fea5acf4-34ad-445f-81fa-74ee7950e0fd\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-f43e09b6-f5b8-49dc-89c8-76511d879428\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -189.00076%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-54cdc3d5-2ac7-4aa9-9aa7-364e59edb3df\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.728155em;line-height:calc(0.83em + 0.17777808296310538em);text-align:initial;padding:0;color:#000000;background-color:#c4c4c4;background:none\"><span style=\"display:block;position:relative;left:0;top:0;margin:3.828358208955222% 0;-webkit-box-decoration-break:clone;box-decoration-break:clone\"><span style=\"background-color:#c4c4c4;-webkit-box-decoration-break:clone;box-decoration-break:clone;position:relative;padding:1.1940298507462688% 2.3880597014925375%;text-align:initial;border-radius:0px 0px 0px 0px;color:transparent\"><span style=\"font-weight: 700\">Click the link below to Discover more Java 8 features with Examples.<\/span><\/span><\/span><\/p>\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.728155em;line-height:calc(0.83em + 0.17777808296310538em);text-align:initial;padding:0;color:#000000;background-color:#c4c4c4;background:none;position:absolute;top:0;left:0;right:0\" aria-hidden=\"true\"><span style=\"display:block;position:relative;left:0;top:0;margin:3.828358208955222% 0;-webkit-box-decoration-break:clone;box-decoration-break:clone\"><span style=\"background-color:#c4c4c4;-webkit-box-decoration-break:clone;box-decoration-break:clone;position:relative;padding:1.1940298507462688% 2.3880597014925375%;text-align:initial;border-radius:0px 0px 0px 0px;background:none\"><span style=\"font-weight: 700; color: #33111a\">Click the link below to Discover more Java 8 features with Examples.<\/span><\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:-0.72816%;top:-8.89968%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-3557b612-50fe-49aa-97be-dd901008d60a\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.28155%;top:47.24919%;width:179.36893%;height:4.36893%;transform:rotate(270deg);opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-c189f7a2-ccce-408a-95ed-7359e651e06d\">\n<div class=\"fill\" style=\"background-color:#590d22;will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&amp;utm_medium=java+8+features&amp;utm_campaign=web+stories\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"The purpose of this web story is to walk you through some of the most useful features of Java 8 that will enable you to boost your productivity immensely.\n","protected":false},"author":21,"featured_media":13067,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[1729],"web_story_tag":[1734,1730],"amp_enabled":false,"story_data":{"version":43,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":188,"height":180,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"4b236251-1282-4c8c-a2cc-5e7582ed83f3","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#2a3330","type":"image","mimeType":"image\/gif","creationDate":"2022-01-03T07:43:35Z","src":"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAi\/thinker-dlubal.gif","width":376,"height":360,"id":"media\/tenor:6682820685062310079","alt":"Thinker Dlubal Sticker","sizes":{"full":{"file":"media\/tenor:6682820685062310079","sourceUrl":"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAi\/thinker-dlubal.gif","mimeType":"image\/gif","width":376,"height":360},"large":{"file":"media\/tenor:6682820685062310079","sourceUrl":"https:\/\/c.tenor.com\/XL4mAYbFiL8AAAAq\/tenor.gif","mimeType":"image\/gif","width":376,"height":360},"200_191":{"file":"media\/tenor:6682820685062310079","sourceUrl":"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAj\/thinker-dlubal.gif","mimeType":"image\/gif","width":200,"height":191},"web_stories_thumbnail":{"file":"media\/tenor:6682820685062310079","sourceUrl":"https:\/\/media.tenor.com\/XL4mAYbFiL8AAAAk\/thinker-dlubal.gif","mimeType":"image\/gif","width":81,"height":78}},"attribution":{"author":{"displayName":"Dlubal_Software","url":"https:\/\/tenor.com\/users\/Dlubal_Software"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqox\/xeDYIesj0qQ8u4XoMMNOF2b1lR10veyhS77WtJ46kAcKJHaX2wnBIBJ39rwaYdqJd5GLT99gNE7zmRQk2vGg%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"type":"linear","rotation":0,"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.7}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#5484a4","type":"image","mimeType":"image\/gif","creationDate":"2021-12-22T22:29:09Z","src":"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAi\/java-coffee.gif","width":272,"height":498,"id":"media\/tenor:16172563938119770363","alt":"Java Coffee Sticker","sizes":{"full":{"file":"media\/tenor:16172563938119770363","sourceUrl":"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAi\/java-coffee.gif","mimeType":"image\/gif","width":272,"height":498},"large":{"file":"media\/tenor:16172563938119770363","sourceUrl":"https:\/\/c.tenor.com\/4HB9Nz7r4PsAAAAq\/tenor.gif","mimeType":"image\/gif","width":272,"height":498},"109_200":{"file":"media\/tenor:16172563938119770363","sourceUrl":"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAj\/java-coffee.gif","mimeType":"image\/gif","width":109,"height":200},"web_stories_thumbnail":{"file":"media\/tenor:16172563938119770363","sourceUrl":"https:\/\/media.tenor.com\/4HB9Nz7r4PsAAAAk\/java-coffee.gif","mimeType":"image\/gif","width":49,"height":90}},"attribution":{"author":{"displayName":"COFFEE_Drinker","url":"https:\/\/tenor.com\/users\/COFFEE_Drinker"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4troXsfUPr6Oo583n00Y0tYSMHX6jhA%2B\/HDPZfBZ\/NyoCfDp7Jg51c5W%2B4nWij2Lm%2BPjmNlezBoGgL4dzC2oFA8NNOM%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":31,"y":125,"width":168,"height":324,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"1c026386-ead9-4c90-b386-bd53f6e970b9"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundTextMode":"NONE","font":{"family":"Oranienbaum","fallbacks":["serif"],"weights":[400],"styles":["regular"],"variants":[[0,400]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":895,"des":-260,"tAsc":895,"tDes":-260,"tLGap":0,"wAsc":895,"wDes":260,"xH":475,"capH":700,"yMin":-260,"yMax":895,"hAsc":895,"hDes":-260,"lGap":0}},"fontSize":58,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">The Top Features You Need to Know<\/span>","fontWeight":700,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":464,"width":345,"height":172,"scale":100,"focalX":50,"focalY":50,"id":"e0f383a5-b14a-45a7-8abf-373611692163","marginOffset":-15.044999999999995,"basedOn":"42d3cd2a-11b2-4f13-9d0c-67510cce933d","groupId":null},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-32,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"2fa05aae-45c1-4e20-ab39-96d87bc836e1","id":"7e3ad868-b222-491f-9044-3682ee3ff9da"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#e70404","type":"image","mimeType":"image\/gif","creationDate":"2019-12-17T13:13:44Z","src":"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAi\/dancing-number-dancing-letter.gif","width":188,"height":169,"id":"media\/tenor:8606912970475148669","alt":"Dancing Number Dancing Letter Sticker","sizes":{"full":{"file":"media\/tenor:8606912970475148669","sourceUrl":"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAi\/dancing-number-dancing-letter.gif","mimeType":"image\/gif","width":188,"height":169},"large":{"file":"media\/tenor:8606912970475148669","sourceUrl":"https:\/\/c.tenor.com\/d3HlvsnflX0AAAAq\/tenor.gif","mimeType":"image\/gif","width":188,"height":169},"188_169":{"file":"media\/tenor:8606912970475148669","sourceUrl":"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAj\/dancing-number-dancing-letter.gif","mimeType":"image\/gif","width":188,"height":169},"web_stories_thumbnail":{"file":"media\/tenor:8606912970475148669","sourceUrl":"https:\/\/media.tenor.com\/d3HlvsnflX0AAAAk\/dancing-number-dancing-letter.gif","mimeType":"image\/gif","width":90,"height":81}},"attribution":{"author":{"displayName":"wjirc","url":"https:\/\/tenor.com\/users\/wjirc"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqZHIZm3hcDQreaDm906ek%2BkqIwnUSZi0iRVJpKcGtjFa82yuAjkKyGXL4f1IdAr%2BphupKieKvaZPJaTiEiIgGGvg%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":206,"y":277,"width":177,"height":172,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"97ddad2d-edf6-497a-995d-375ed701e896"}],"animations":[],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"039bee5f-dd9a-4634-90e1-781b45874a59","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"ebe7218b-3238-4689-aa85-3954b57dc681","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":412,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"442d1539-fb29-492a-86a1-9e51a6b48c28","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LIHCK5tkV@?aOv?uR.s,~VIU9EjX","type":"image","mimeType":"image\/jpeg","creationDate":"2020-01-19T03:05:44Z","src":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=3394&h=4243&fit=max","width":3394,"height":4243,"id":"media\/unsplash:QUHuwyNgSA0","alt":"media\/unsplash:QUHuwyNgSA0","sizes":{"full":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=3394&h=4243&fit=max","mimeType":"image\/jpeg","width":3394,"height":4243},"large":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=2715&h=3394&fit=max","mimeType":"image\/jpeg","width":2715,"height":3394},"2036_2545":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=2036&h=2545&fit=max","mimeType":"image\/jpeg","width":2036,"height":2545},"1357_1696":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=1357&h=1696&fit=max","mimeType":"image\/jpeg","width":1357,"height":1696},"678_848":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=678&h=848&fit=max","mimeType":"image\/jpeg","width":678,"height":848},"web_stories_thumbnail":{"file":"media\/unsplash:QUHuwyNgSA0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579403124614-197f69d8187b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw4fHxqYXZhfGVufDB8fHx8MTY2NDg1MzU4NA&ixlib=rb-1.2.1&fm=jpg&w=340&h=425&fit=max","mimeType":"image\/jpeg","width":340,"height":425}},"attribution":{"author":{"displayName":"Karl Pawlowicz","url":"https:\/\/unsplash.com\/@karlp?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpEl2ZLtB1Edx5bECcqwZy\/uPKb2%2BHFD987llF5rIKnL\/yn0pJLO4MNXNqAr61OWw3EIcR7ExuqsY5Lf3JmHaEgoPpHX64upSktVS8dF5IpbGz5WtrROT3%2BgNtzaFtkJs\/e5NLi70HZ\/G7EPwcZBTOQcyoT8MK8Vcw1nBrl%2BZZgmG8nYvIwn6ZeFhCuOfMi2ZmmgRvIb8CnaBfEHvwlNK6c\/anVxbL7HjCO"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"x":-76,"y":279,"basedOn":"78c03c1a-6e43-4b24-988b-5abaec1d9d55","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":10,"lockAspectRatio":false,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.3}},"type":"shape","width":581,"height":272,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"9f028cbd-4cdf-4c37-b25d-cc1badc384b0"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"7e3ad868-b222-491f-9044-3682ee3ff9da","id":"747a5370-3a95-4a7f-a148-b0f6146a6c43"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">Java 8 introduces functional interfaces having single abstract method, and lambda expressions can easily implement functional interfaces by implementing their abstract method.<\/span>","fontWeight":400,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":23,"y":314,"width":368,"height":176,"scale":100,"focalX":50,"focalY":50,"type":"text","tagName":"p","basedOn":"398f52b4-9c0e-4bd5-b4c0-5a83c06ad4bc","id":"e7c1e468-0b2f-424a-a0ce-637c4d6f0af8"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"fontSize":35,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">1. Functional Interfaces And Lambda Expressions<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":23,"y":182,"width":366,"height":125,"scale":100,"focalX":50,"focalY":50,"id":"6e9d2941-9828-4fb0-9659-31fedc6f84fc"}],"animations":[{"id":"99925c01-1ed8-48ec-b2c1-d0f333a138fb","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["e7c1e468-0b2f-424a-a0ce-637c4d6f0af8"]},{"id":"b2c57a37-f882-47b3-9fe8-ad5edf60d4e3","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["6e9d2941-9828-4fb0-9659-31fedc6f84fc"]},{"id":"4d5cb433-155b-4383-a672-7a76a217d702","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["442d1539-fb29-492a-86a1-9e51a6b48c28"]}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"type":"page","id":"f4981294-aa5d-488c-8a6c-880eb6a310bc","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"725289c8-070d-4889-99e0-4f0179ebedc4","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"7cf9d1d8-3d90-467c-8891-d45926c8b211","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LeH2Zc00t6kC-:t7M{kCR*o2t6t7","type":"image","mimeType":"image\/jpeg","creationDate":"2019-07-19T11:41:39Z","src":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","width":4000,"height":6000,"id":"media\/unsplash:NdFREMS5P08","alt":"woman leaning at the table","sizes":{"full":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:NdFREMS5P08","sourceUrl":"https:\/\/images.unsplash.com\/flagged\/photo-1563536310477-c7b4e3a800c2?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw1N3x8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzMzM&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Nicole Wolf","url":"https:\/\/unsplash.com\/@joeel56?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpY2%2BUTP6YwjFpDaBiJc6fD9BN3t\/SN\/\/isMJsEmXSQBJ60Owi\/\/VGvUChr31tFJUc7HhUxUsKUi8kEq%2BgJFXy4%2BEmVF4s\/4vWvJGGnpAR8N%2BaLww0IEd0Lvx52pLKgOrLgpLtMNZVI3M8\/oZQD2pG6iyCTZSkt0H8tJqiopY5QSPWfXFf\/wZRXqSuvXREdghPw2MdZC6rJMeQ4uVFqDSwY2wqjVUc%2BWI5XeI5XCHz9cdHh"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"x":-76,"y":279,"basedOn":"9f028cbd-4cdf-4c37-b25d-cc1badc384b0","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":10,"lockAspectRatio":false,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.3}},"type":"shape","width":581,"height":272,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"08031ec8-d946-48a5-bbc2-299059b64194"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"747a5370-3a95-4a7f-a148-b0f6146a6c43","id":"1eb04eda-4de0-497e-8d0f-9b16d4614b1b"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"fontSize":35,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">2. forEach() Method In Iterable Interface<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":24,"y":231,"width":369,"height":82,"scale":100,"focalX":50,"focalY":50,"id":"92323a30-9666-41cd-bab3-47339f012ed8","basedOn":"6e9d2941-9828-4fb0-9659-31fedc6f84fc"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">\"forEach\" method in Java 8 allow Collection classes to iterate items. The method takes single parameter i.e., functional interface, so lambda expressions can be passed as arguments.<\/span>","fontWeight":400,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":24,"y":327,"width":369,"height":176,"scale":100,"focalX":50,"focalY":50,"type":"text","tagName":"p","basedOn":"e7c1e468-0b2f-424a-a0ce-637c4d6f0af8","id":"89e0b125-ab89-4efb-bf13-d9d129cc75e2"}],"animations":[{"id":"377a572a-a664-4534-a723-40cfb9e47132","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["89e0b125-ab89-4efb-bf13-d9d129cc75e2"]},{"id":"2cb7abe8-c57f-4c97-ac9d-b37c9a7cf7a9","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["92323a30-9666-41cd-bab3-47339f012ed8"]},{"id":"5887dfa8-7679-4046-88c1-36432d5520ee","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["7cf9d1d8-3d90-467c-8891-d45926c8b211"]}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"type":"page","id":"7475a312-090b-4904-a1e7-c092b5a9d208","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"1467c837-f423-4c93-bd25-6513bd74a2da","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"c92eec27-b2ac-4f27-a3a2-8fc8cb7f05f6","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"LECip=DiD%-=?wIpM{tR9a-qkCM{","type":"image","mimeType":"image\/jpeg","creationDate":"2018-03-24T13:32:16Z","src":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=5304&h=7952&fit=max","width":5304,"height":7952,"id":"media\/unsplash:vGgn0xLdy8s","alt":"man sitting on chair and looking laptop computer","sizes":{"full":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=5304&h=7952&fit=max","mimeType":"image\/jpeg","width":5304,"height":7952},"large":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4243&h=6361&fit=max","mimeType":"image\/jpeg","width":4243,"height":6361},"3182_4771":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=3182&h=4771&fit=max","mimeType":"image\/jpeg","width":3182,"height":4771},"2121_3180":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=2121&h=3180&fit=max","mimeType":"image\/jpeg","width":2121,"height":3180},"1060_1589":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=1060&h=1589&fit=max","mimeType":"image\/jpeg","width":1060,"height":1589},"web_stories_thumbnail":{"file":"media\/unsplash:vGgn0xLdy8s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1521898284481-a5ec348cb555?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3Nnx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Annie Spratt","url":"https:\/\/unsplash.com\/@anniespratt?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqCMpKEmTx6g3PISg6w7YAjhSysClUPMjTw8%2BjSZhE9BASPdZpI50KjqVjbu707J1VSePRb0u9PJGuKUBCkYWjKgFvaaRA85bzzgtSq2YL6VEC1FizS5bD\/FZAJpFZhNfATmBFN2kfN7vObUm5ezeWW2GSwOhKsNTIQ4%2BeygDiLX5ymfXYBWibxpvSX3WuA0aJ0T0ehCLnT1zlTOLXDqZkPwXH4K9T4PMypBvaoTL0u3GAR"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"x":-76,"y":279,"basedOn":"9f028cbd-4cdf-4c37-b25d-cc1badc384b0","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":10,"lockAspectRatio":false,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.3}},"type":"shape","width":581,"height":272,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"ad3ae145-06a7-4360-8036-5c86df1e0121"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"1eb04eda-4de0-497e-8d0f-9b16d4614b1b","id":"4b748d7c-e9dd-4850-a409-e7f8f67ef700"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"fontSize":35,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">3. Optional Class<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":21,"y":256,"width":343,"height":42,"scale":100,"focalX":50,"focalY":50,"id":"33b0ccef-605b-4391-9e54-e786deec1d4c","basedOn":"92323a30-9666-41cd-bab3-47339f012ed8"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">Optional class handles NullPointerExceptions in Java, and allows to pass other code\/values to execute, thereby reducing no. of null checks required to avoid a NullPointerException.<\/span>","fontWeight":400,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":21,"y":309,"width":371,"height":176,"scale":100,"focalX":50,"focalY":50,"type":"text","tagName":"p","basedOn":"89e0b125-ab89-4efb-bf13-d9d129cc75e2","id":"d7e796ac-1eee-4deb-930d-464ae64fed1d"}],"animations":[{"id":"01dc32e3-7c59-4911-8ede-448785bf617e","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["d7e796ac-1eee-4deb-930d-464ae64fed1d"]},{"id":"e98c9cba-c7e0-49c8-b556-661a058041eb","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["33b0ccef-605b-4391-9e54-e786deec1d4c"]},{"id":"3743f76c-19ab-4d11-b287-0b0e95d6d3d3","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["c92eec27-b2ac-4f27-a3a2-8fc8cb7f05f6"]}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"type":"page","id":"cd57867d-e34a-4b0c-af12-ad492d46f078","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"048aa9e4-e712-4700-a606-585ab62d5d29","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"e7faba9e-a9a1-4f05-819d-72f2dffc8df2","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LlH.QcIAxut7~qayt7xu?bt7M{xv","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-11T18:11:53Z","src":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","width":4016,"height":6016,"id":"media\/unsplash:7RRj4wDX7LE","alt":"shallow focus photo of woman using MacBook","sizes":{"full":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:7RRj4wDX7LE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573495783323-9e59a325d4b4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw3MHx8ZGV2ZWxvcGVyc3xlbnwwfHx8fDE2NjQ0NjYzNjE&ixlib=rb-1.2.1&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"attribution":{"author":{"displayName":"Christina @ wocintechchat.com","url":"https:\/\/unsplash.com\/@wocintechchat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqCqy1VrA\/87Yw3PZrAhYUH9prxWhFxKYzgdgwwbBc2sKEhWj1KqeYYnpwtpfNLRUmN85o29gdyzJhA0ziDin13VcYXiyHJF77LNsqROK88a%2BysiA%2BErvBQxWGn14exo0ZlthVJjYYEjSDCPyLrtGYqaFzzQ1LFOfSCwLNVWZan\/JTQZeFCYRA2AjAuR%2BzlyieLBo2n4SyKTzcyUs3b%2B7m1EX3Fwj%2BJTnx\/DOYwEe064phd"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"x":-76,"y":279,"basedOn":"9f028cbd-4cdf-4c37-b25d-cc1badc384b0","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":10,"lockAspectRatio":false,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.3}},"type":"shape","width":581,"height":272,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"1c51c6cf-6b74-445e-8eb1-43bf3cd13521"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"4b748d7c-e9dd-4850-a409-e7f8f67ef700","id":"67d2f9e0-a561-4012-ae81-975b4b6245f7"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"fontSize":35,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">4. Default And Static Methods In Interfaces<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":22,"y":231,"width":366,"height":82,"scale":100,"focalX":50,"focalY":50,"id":"8ecb6db1-c9f2-4763-bb85-3ba74eca9b53","basedOn":"33b0ccef-605b-4391-9e54-e786deec1d4c"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">Java 8 allows you to add non-abstract methods to interfaces. You can create interfaces with method implementation using Default and Static keywords.<\/span>","fontWeight":400,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":22,"y":323,"width":361,"height":149,"scale":100,"focalX":50,"focalY":50,"type":"text","tagName":"p","basedOn":"d7e796ac-1eee-4deb-930d-464ae64fed1d","id":"d7950025-27d2-4422-aa84-506fcb59ffca"}],"animations":[{"id":"5def4fca-2ce4-4163-b492-bb85c0633b14","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["d7950025-27d2-4422-aa84-506fcb59ffca"]},{"id":"ca220680-bd27-402d-899e-9f7aeaee3c35","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["8ecb6db1-c9f2-4763-bb85-3ba74eca9b53"]},{"id":"5a8ee6f3-7e16-4a6a-b26c-d8d97a1c6c3e","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["e7faba9e-a9a1-4f05-819d-72f2dffc8df2"]}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"type":"page","id":"31fdfdff-2dbc-4ebb-8700-095521d60841","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"f35b4618-d680-4765-b972-9b65a643b5b0","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":495,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"729e4bfa-d3c0-4899-b0c5-9a7f13a1f918","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"L897hU*JxtNG4mMJnhxvI;-;krRj","type":"image","mimeType":"image\/jpeg","creationDate":"2019-02-09T06:08:56Z","src":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=3996&h=6000&fit=max","width":3996,"height":6000,"id":"media\/unsplash:G1N9kDHqBrQ","alt":"sitting man using gadget in room","sizes":{"full":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=3996&h=6000&fit=max","mimeType":"image\/jpeg","width":3996,"height":6000},"large":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=3196&h=4799&fit=max","mimeType":"image\/jpeg","width":3196,"height":4799},"2397_3599":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=2397&h=3599&fit=max","mimeType":"image\/jpeg","width":2397,"height":3599},"1598_2399":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=1598&h=2399&fit=max","mimeType":"image\/jpeg","width":1598,"height":2399},"799_1200":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=799&h=1200&fit=max","mimeType":"image\/jpeg","width":799,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:G1N9kDHqBrQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549692520-acc6669e2f0c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxkZXZlbG9wZXJzfGVufDB8fHx8MTY2NDQ2NjI4Ng&ixlib=rb-1.2.1&fm=jpg&w=340&h=511&fit=max","mimeType":"image\/jpeg","width":340,"height":511}},"attribution":{"author":{"displayName":"Arif Riyanto","url":"https:\/\/unsplash.com\/@arifriyanto?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4to9Ct2Ww4nIhOU4FZ%2BLXqRST2%2B5fFRYQBkOU%2BfDnEBJBRk835YNnubukAtouAzvi6KduNw\/Ombvm8eEJSrKSRt0ckWgpdVYOps1okPoFN4RxyXFwfOFmdraESO9F7nL3m1ZHr98%2BZkeNxaUn81nbyqq\/OqpDObuRnJyV9SSG776IYxt5TtMB7fga5DcPfFba6B%2BZxqYOfK3HVeFEfJ9pQfInuJQyZF4lWv\/pTumMe0WtRs%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"x":-76,"y":279,"basedOn":"9f028cbd-4cdf-4c37-b25d-cc1badc384b0","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":10,"lockAspectRatio":false,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.3}},"type":"shape","width":581,"height":272,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"e385aea3-b985-4c6c-a439-34e4da49058c"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-40,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"67d2f9e0-a561-4012-ae81-975b4b6245f7","id":"6c44d3b6-5c37-4f85-a673-822298a4526d"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"fontSize":35,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">5. Java Stream API For Bulk Data Operations On Collections<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":24,"y":202,"width":371,"height":125,"scale":100,"focalX":50,"focalY":50,"id":"109495a0-8b71-44e6-9bee-82cb1faa276a","basedOn":"8ecb6db1-c9f2-4763-bb85-3ba74eca9b53"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"initial","padding":{"locked":true,"hasHiddenPadding":false},"content":"<span style=\"color: #fff\">Java 8 introduces a new Streams API for bulk data operations on elements\/items of Java collections, and enables you to process components of Java collections in parallel.<\/span>","fontWeight":400,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":23,"y":327,"width":351,"height":176,"scale":100,"focalX":50,"focalY":50,"type":"text","tagName":"p","basedOn":"d7950025-27d2-4422-aa84-506fcb59ffca","id":"9bf07e93-8f8e-4621-9957-ea55503438ab"}],"animations":[{"id":"c533a59e-b36a-461b-80a5-8ed7cc34e851","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["9bf07e93-8f8e-4621-9957-ea55503438ab"]},{"id":"0293acfe-af69-4cca-bfaa-6fb3fb8cd7f3","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["109495a0-8b71-44e6-9bee-82cb1faa276a"]},{"id":"67deba05-05d0-407d-96e0-9693c36d93d3","type":"effect-background-pan-and-zoom","panDir":"rightToLeft","duration":2000,"delay":0,"zoomDirection":"scaleOut","targets":["729e4bfa-d3c0-4899-b0c5-9a7f13a1f918"]}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"type":"page","id":"a2038da1-4f6d-4882-a4ef-c3b943514b30","pageTemplateType":"cover","groups":{"43822f2d-e2ce-445d-ac82-13372d91db61":{"name":"Background","isLocked":true,"isCollapsed":true}},"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5c4f85ae-24f8-459b-97a0-bc7752dcdf01","basedOn":"8fe4f619-7591-4389-b43e-d196bd3f5eb1"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false}},{"elements":[{"x":48,"y":0,"width":249,"height":249,"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"932d81f9-3344-435d-8526-9cf4034b7a03","basedOn":"03d49bf5-7b5e-4d7c-b09e-7c3ebde20c94","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/gif","creationDate":"2021-05-31T14:14:58Z","src":"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAi\/kroppa-digital.gif","width":498,"height":498,"id":"media\/tenor:2564968163556745316","alt":"Kroppa Digital Sticker","sizes":{"full":{"file":"media\/tenor:2564968163556745316","sourceUrl":"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAi\/kroppa-digital.gif","mimeType":"image\/gif","width":498,"height":498},"large":{"file":"media\/tenor:2564968163556745316","sourceUrl":"https:\/\/c.tenor.com\/I5iY9Hj8YGQAAAAq\/tenor.gif","mimeType":"image\/gif","width":498,"height":498},"200_200":{"file":"media\/tenor:2564968163556745316","sourceUrl":"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAj\/kroppa-digital.gif","mimeType":"image\/gif","width":200,"height":200},"web_stories_thumbnail":{"file":"media\/tenor:2564968163556745316","sourceUrl":"https:\/\/media.tenor.com\/I5iY9Hj8YGQAAAAk\/kroppa-digital.gif","mimeType":"image\/gif","width":90,"height":90}},"attribution":{"author":{"displayName":"KroppaDigital","url":"https:\/\/tenor.com\/users\/KroppaDigital"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tquoqlB3r\/lnp%2BOCZyiWTAyrovIKRbXNsFrDQ9dpiM%2B\/H3bPgk7WEjZzJJ8hEfYfeo%2BUY\/PiB7bWD08lo2bilb4yg%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"type":"linear","rotation":0,"stops":[{"color":{"r":0,"g":0,"b":0,"a":0},"position":0},{"color":{"r":0,"g":0,"b":0,"a":1},"position":1}],"alpha":0.7}},{"x":21,"y":26,"width":81,"height":283,"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins","fallbacks":["sans-serif"],"weights":[100,200,300,400,500,600,700,800,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,200],[1,200],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,600],[1,600],[0,700],[1,700],[0,800],[1,800],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1050,"des":-350,"tAsc":1050,"tDes":-350,"tLGap":100,"wAsc":1135,"wDes":627,"xH":548,"capH":698,"yMin":-572,"yMax":1065,"hAsc":1050,"hDes":-350,"lGap":100}},"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","scale":100,"focalX":50,"focalY":50,"type":"text","basedOn":"a8a8df4d-5750-4508-9698-69226f88a94f","id":"767928e9-9468-438e-bb74-51804c911c2c","content":"<span style=\"font-weight: 700; color: #fff\">\u201c<\/span>","fontSize":202,"padding":{"horizontal":0,"vertical":0}},{"x":30,"y":208,"width":335,"height":298,"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"HIGHLIGHT","font":{"family":"Poppins","fallbacks":["sans-serif"],"weights":[100,200,300,400,500,600,700,800,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,200],[1,200],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,600],[1,600],[0,700],[1,700],[0,800],[1,800],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1050,"des":-350,"tAsc":1050,"tDes":-350,"tLGap":100,"wAsc":1135,"wDes":627,"xH":548,"capH":698,"yMin":-572,"yMax":1065,"hAsc":1050,"hDes":-350,"lGap":100}},"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.83,"textAlign":"initial","scale":100,"focalX":50,"focalY":50,"type":"text","basedOn":"37fa4bdd-2898-4b95-bf2a-ae0d4e474f47","id":"54cdc3d5-2ac7-4aa9-9aa7-364e59edb3df","content":"<span style=\"font-weight: 700; color: #33111a\">Click the link below to Discover more Java 8 features with Examples.<\/span>","fontSize":45,"padding":{"hasHiddenPadding":true,"horizontal":8,"vertical":4},"tagName":"p","marginOffset":-33.629999999999995},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":-3,"y":-55,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"basedOn":"14e68276-ba06-437f-a7c3-d704303e7d93","id":"3557b612-50fe-49aa-97be-dd901008d60a"},{"x":30,"y":292,"basedOn":"3e016589-bb8b-4fa0-831c-e9995dd3ceff","opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":270,"lockAspectRatio":false,"backgroundColor":{"color":{"r":89,"g":13,"b":34}},"type":"shape","width":739,"height":27,"scale":100,"focalX":50,"focalY":50,"mask":{"type":"rectangle"},"groupId":null,"id":"c189f7a2-ccce-408a-95ed-7359e651e06d"}],"animations":[{"id":"3843a4f0-6821-4f6f-964c-0252e68579b0","type":"effect-fly-in","flyInDir":"topToBottom","duration":1000,"delay":0,"targets":["54cdc3d5-2ac7-4aa9-9aa7-364e59edb3df"]}],"backgroundOverlay":"none","type":"page","id":"4c8e1b8b-8c10-4ac1-a12e-2ccea42ab439","backgroundColor":{"color":{"r":0,"g":0,"b":0}},"pageTemplateType":"quote","pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/java-8-features\/?utm_source=ib&utm_medium=java+8+features&utm_campaign=web+stories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Java-8-Features.png","needsProxy":false,"ctaText":"SWIPE UP"},"defaultBackgroundElement":{"x":1,"y":1,"width":1,"height":1,"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"mask":{"type":"rectangle"},"isBackground":true,"type":"shape","id":"b13d1951-a564-4db5-b827-6a6e6f69aa34","isDefaultBackground":true,"basedOn":"03d49bf5-7b5e-4d7c-b09e-7c3ebde20c94"}}],"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"style_presets":{"colors":[{"color":{"r":157,"g":100,"b":32}},{"color":{"r":0,"g":0,"b":0}}],"textStyles":[]},"story_poster":{"id":13067,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/10\/cropped-Java-8-Features.png","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13008"}],"collection":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/users\/21"}],"version-history":[{"count":10,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13008\/revisions"}],"predecessor-version":[{"id":13071,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13008\/revisions\/13071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/13067"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=13008"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=13008"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=13008"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13008\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}