SlideShare a Scribd company logo
OCP Java SE 8 Exam
Sample Questions	
Java	Streams	
Hari	Kiran	&	S	G	Ganesh
Ques4on		
Choose	the	correct	op4on	based	on	this	code	segment:	
	
"abracadabra".chars().distinct()
.peek(ch -> System. out .printf("%c ", ch)). sorted();
	
	
A.	It	prints:	“a	b	c	d	r”	
B.	It	prints:	“a	b	r	c	d”	
C.	It	crashes	by	throwing	a	java.u=l.IllegalFormatConversionExcep=on	
D.	This	program	terminates	normally	without	prin=ng	any	output	in	the	
console	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	correct	op4on	based	on	this	code	segment:	
	
"abracadabra".chars().distinct()
.peek(ch -> System. out .printf("%c ", ch)). sorted();
	
	
A.	It	prints:	“a	b	c	d	r”	
B.	It	prints:	“a	b	r	c	d”	
C.	It	crashes	by	throwing	a	java.u=l.IllegalFormatConversionExcep=on	
D.	This	program	terminates	normally	without	prin4ng	any	output	in	
the	console	
h=ps://ocpjava.wordpress.com
Explana4on	
D	.	This	program	terminates	normally	without	prin=ng	
any	output	in	the	console	
	
Since	there	is	no	terminal	opera=on	provided	
(such	as	count	,	forEach	,	reduce,	or	collect	),	this	
pipeline	is	not	evaluated	and	hence	the	peek	does	not	
print	any	output	to	the	console.	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	correct	op4on	based	on	this	program:	
	
class Consonants {
private static boolean removeVowels(int c) {
switch(c) {
case 'a': case 'e': case 'i': case 'o': case 'u': return true;
}
return false;
}
public static void main(String []args) {
"avada kedavra".chars().filter(Consonants::removeVowels)
.forEach(ch -> System.out.printf("%c", ch));
}
}
A.	This	program	results	in	a	compiler	error	
B.	This	program	prints:	"aaaeaa"	
C.	This	program	prints:	"vd	kdvr"	
D.	This	program	prints:	"	avada	kedavra	"	
E.	This	program	crashes	by	throwing	a	java.u=l.IllegalFormatConversionExcep=on	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	correct	op4on	based	on	this	program:	
	
class Consonants {
private static boolean removeVowels(int c) {
switch(c) {
case 'a': case 'e': case 'i': case 'o': case 'u': return true;
}
return false;
}
public static void main(String []args) {
"avada kedavra".chars().filter(Consonants::removeVowels)
.forEach(ch -> System.out.printf("%c", ch));
}
}
A.	This	program	results	in	a	compiler	error	
B.	This	program	prints:	"aaaeaa"	
C.	This	program	prints:	"vd	kdvr"	
D.	This	program	prints:	"	avada	kedavra	"	
E.	This	program	crashes	by	throwing	a	java.u=l.IllegalFormatConversionExcep=on	
h=ps://ocpjava.wordpress.com
Explana4on	
B	.	This	program	prints:	"	aaaeaa“	
	
Because	the	Consonants::removeVowels	returns	true	
when	there	is	a	vowel	passed,	only	those	characters	are	
retained	in	the	stream	by	the	filter	method.		
	
Hence,	this	program	prints	“aaaeaa”.	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	best	op4on	based	on	this	program:	
	
import java.util.stream.Stream;
public class AllMatch{
public static void main(String []args) {
boolean result = Stream.of("do", "re", "mi", "fa", "so", "la", "ti")
.filter(str -> str.length() > 5) // #1
.peek(System.out::println) // #2
.allMatch(str -> str.length() > 5); // #3
System.out.println(result);
}
}
A.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#1	
B.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#2	
C.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#3	
D.	This	program	prints:	false	
E.	This	program	prints	the	strings	“do”,	“re”,	“mi”,	“fa”,	“so”,	“la”,	“=”,	and	
“false”	in	separate	lines	
F.	This	program	prints:	true	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	best	op4on	based	on	this	program:	
	
import java.util.stream.Stream;
public class AllMatch{
public static void main(String []args) {
boolean result = Stream.of("do", "re", "mi", "fa", "so", "la", "ti")
.filter(str -> str.length() > 5) // #1
.peek(System.out::println) // #2
.allMatch(str -> str.length() > 5); // #3
System.out.println(result);
}
}
A.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#1	
B.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#2	
C.	This	program	results	in	a	compiler	error	in	line	marked	with	comment	#3	
D.	This	program	prints:	false	
E.	This	program	prints	the	strings	“do”,	“re”,	“mi”,	“fa”,	“so”,	“la”,	“=”,	and	
“false”	in	separate	lines	
F.	This	program	prints:	true	
h=ps://ocpjava.wordpress.com
Explana4on	
F	.	This	program	prints:	true	
	
The	predicate	str	->	str.length()	>	5	returns	false	for	all	the	
elements	because	the	length	of	each	string	is	2.		
	
Hence,	the	filter()	method	results	in	an	empty	stream	and	the	
peek()	method	does	not	print	anything.	The	allMatch()	
method	returns	true	for	an	empty	stream	and	does	not	
evaluate	the	given	predicate.		
	
Hence	this	program	prints	true	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	best	op4on	based	on	this	program:	
import java.util.regex.Pattern;
import java.util.stream.Stream;
public class SumUse {
public static void main(String []args) {
Stream<String> words = Pattern.compile(“ “).splitAsStream(“a bb ccc”);
System.out.println(words.map(word -> word.length()).sum());
}
}
A.	Compiler	error:	Cannot	find	symbol	“sum”	in	interface	Stream<Integer>	
B.	This	program	prints:	3	
C.	This	program	prints:	5	
D.	This	program	prints:	6	
E.	This	program	crashes	by	throwing	java.lang.IllegalStateExcep=on
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	best	op4on	based	on	this	program:	
import java.util.regex.Pattern;
import java.util.stream.Stream;
public class SumUse {
public static void main(String []args) {
Stream<String> words = Pattern.compile(“ “).splitAsStream(“a bb ccc”);
System.out.println(words.map(word -> word.length()).sum());
}
}
A.	Compiler	error:	Cannot	find	symbol	“sum”	in	interface	Stream<Integer>	
B.	This	program	prints:	3	
C.	This	program	prints:	5	
D.	This	program	prints:	6	
E.	This	program	crashes	by	throwing	java.lang.IllegalStateExcep=on
h=ps://ocpjava.wordpress.com
Explana4on	
A	.	Compiler	error:	Cannot	find	symbol	“sum”	in	interface	
Stream<Integer>	
	
Data	and	calcula=on	methods	such	as	sum()	and	average()	
are	not	available	in	the	Stream<T>	interface;	they	are	
available	only	in	the	primi=ve	type	versions	IntStream,	
LongStream,	and	DoubleStream.		
	
To	create	an	IntStream	,	one	solu=on	is	to	use	mapToInt()	
method	instead	of	map()	method	in	this	program.	If	
mapToInt()	were	used,	this	program	would	compile	without	
errors,	and	when	executed,	it	will	print	6	to	the	console.	
h=ps://ocpjava.wordpress.com
Ques4on		
Determine	the	behaviour	of	this	program:	
	
class LambdaFunctionTest {
@FunctionalInterface
interface LambdaFunction {
int apply(int j);
boolean equals(java.lang.Object arg0);
}
public static void main(String []args) {
LambdaFunction lambdaFunction = i -> i * i; // #1
System.out.println(lambdaFunction.apply(10));
}
}
A.	This	program	results	in	a	compiler	error:	interfaces	cannot	be	defined	inside	
classes	
B.	This	program	results	in	a	compiler	error:	@Func=onalInterface	used	for	
LambdaFunc=on	that	defines	two	abstract	methods	
C.	This	program	results	in	a	compiler	error	in	code	marked	with	#1:	syntax	error	
D.	This	program	compiles	without	errors,	and	when	run,	it	prints	100	in	console	
h=ps://ocpjava.wordpress.com
Answer	
Determine	the	behaviour	of	this	program:	
	
class LambdaFunctionTest {
@FunctionalInterface
interface LambdaFunction {
int apply(int j);
boolean equals(java.lang.Object arg0);
}
public static void main(String []args) {
LambdaFunction lambdaFunction = i -> i * i; // #1
System.out.println(lambdaFunction.apply(10));
}
}
A.	This	program	results	in	a	compiler	error:	interfaces	cannot	be	defined	inside	
classes	
B.	This	program	results	in	a	compiler	error:	@Func=onalInterface	used	for	
LambdaFunc=on	that	defines	two	abstract	methods	
C.	This	program	results	in	a	compiler	error	in	code	marked	with	#1:	syntax	error	
D.	This	program	compiles	without	errors,	and	when	run,	it	prints	100	in	
console	
h=ps://ocpjava.wordpress.com
Explana4on	
D.	is	the	correct	answer	as	this	program	compiles	without	
errors,	and	when	run,	it	prints	100	in	console.		
Why	other	op4ons	are	wrong:	
A.  An	interface	can	be	defined	inside	a	class	
B.  The	signature	of	the	equals	method	matches	that	of	the	
equal	method	in	Object	class;	hence	it	is	not	counted	as	
an	abstract	method	in	the	func=onal	interface		
C.  It	is	acceptable	to	omit	the	parameter	type	when	there	
is	only	one	parameter	and	the	parameter	and	return	
type	are	inferred	from	the	LambdaFunc=on	abstract	
method	declara=on	int	apply(int	j)	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	best	op4on	based	on	this	program:	
	
import java.util.*;
class Sort {
public static void main(String []args) {
List<String> strings = Arrays.asList("eeny ", "meeny ", "miny ", "mo ");
Collections.sort(strings, (str1, str2) -> str2.compareTo(str1));
strings.forEach(string -> System.out.print(string));
}
}
A.	Compiler	error:	improper	lambda	func=on	defini=on	
B.	This	program	prints:	eeny	meeny	miny	mo	
C.	This	program	prints:	mo	miny	meeny	eeny	
D.	This	program	will	compile	fine,	and	when	run,	will	crash	by	throwing	a	
run=me	excep=on.	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	best	op4on	based	on	this	program:	
	
import java.util.*;
class Sort {
public static void main(String []args) {
List<String> strings = Arrays.asList("eeny ", "meeny ", "miny ", "mo ");
Collections.sort(strings, (str1, str2) -> str2.compareTo(str1));
strings.forEach(string -> System.out.print(string));
}
}
A.	Compiler	error:	improper	lambda	func=on	defini=on	
B.	This	program	prints:	eeny	meeny	miny	mo	
C.	This	program	prints:	mo	miny	meeny	eeny	
D.	This	program	will	compile	fine,	and	when	run,	will	crash	by	throwing	a	
run=me	excep=on.	
h=ps://ocpjava.wordpress.com
Explana4on	
C	.	This	program	prints:	mo	miny	meeny	eeny	
	
This	is	a	proper	defini=on	of	a	lambda	expression.	Since	the	
second	argument	of	Collec=ons.sort()	method	takes	the	
func=onal	interface	Comparator	and	a	matching	lambda	
expression	is	passed	in	this	code.		
	
Note	that	second	argument	is	compared	with	the	
first	argument	in	the	lambda	expression	(str1,	str2)	->	
str2.compareTo(str1)	.	For	this	reason,	the	comparison	is	
performed	in	descending	order.	
h=ps://ocpjava.wordpress.com
Ques4on		
What	will	be	the	result	of	execu4ng	this	code	segment	?	
	
Stream.of("ace ", "jack ", "queen ", "king ", "joker ")
.mapToInt(card -> card.length())
.filter(len -> len > 3)
.peek(System.out::print)
.limit(2);
A.	This	code	segment	prints:	jack	queen	king	joker	
B.	This	code	segment	prints:	jack	queen	
C.	This	code	segment	prints:	king	joker	
D.	This	code	segment	does	not	print	anything	on	the	console	
h=ps://ocpjava.wordpress.com
Answer	
What	will	be	the	result	of	execu4ng	this	code	segment	?	
	
Stream.of("ace ", "jack ", "queen ", "king ", "joker ")
.mapToInt(card -> card.length())
.filter(len -> len > 3)
.peek(System.out::print)
.limit(2);
A.	This	code	segment	prints:	jack	queen	king	joker	
B.	This	code	segment	prints:	jack	queen	
C.	This	code	segment	prints:	king	joker	
D.	This	code	segment	does	not	print	anything	on	the	console	
h=ps://ocpjava.wordpress.com
Explana4on	
D.	This	code	segment	does	not	print	anything	on	the	
console	
	
The	limit()	method	is	an	intermediate	opera=on	and	
not	a	terminal	opera=on.	
	
Since	there	is	no	terminal	opera=on	in	this	code	
segment,	elements	are	not	processed	in	the	stream	
and	hence	it	does	not	print	anything	on	the	console.	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	correct	op4on	based	on	the	following	code	segment:	
	
Comparator<String> comparer =
(country1, country2) -> country2.compareTo(country2); // COMPARE_TO
String[ ] brics = {"Brazil", "Russia", "India", "China"};
Arrays.sort(brics, null);
Arrays.stream(brics).forEach(country -> System.out.print(country + " "));
	
A.	The	program	results	in	a	compiler	error	in	the	line	marked	with	the	comment	
COMPARE_TO	
B.	The	program	prints	the	following:	Brazil	Russia	India	China	
C.	The	program	prints	the	following:	Brazil	China	India	Russia	
D.	The	program	prints	the	following:	Russia	India	China	Brazil	
E.	The	program	throws	the	excep=on	InvalidComparatorExcep=on	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	correct	op4on	based	on	the	following	code	segment:	
	
Comparator<String> comparer =
(country1, country2) -> country2.compareTo(country2); // COMPARE_TO
String[ ] brics = {"Brazil", "Russia", "India", "China"};
Arrays.sort(brics, null);
Arrays.stream(brics).forEach(country -> System.out.print(country + " "));
	
A.	The	program	results	in	a	compiler	error	in	the	line	marked	with	the	comment	
COMPARE_TO	
B.	The	program	prints	the	following:	Brazil	Russia	India	China	
C.	The	program	prints	the	following:	Brazil	China	India	Russia	
D.	The	program	prints	the	following:	Russia	India	China	Brazil	
E.	The	program	throws	the	excep=on	InvalidComparatorExcep=on	
h=ps://ocpjava.wordpress.com
Explana4on	
C.	The	program	prints	the	following:	Brazil	China	India	
Russia.	
	
For	the	sort()	method,	null	value	is	passed	as	the	
second	argument,	which	indicates	that	the	elements’	
“natural	ordering”	should	be	used.	In	this	case,	
natural	ordering	for	Strings	results	in	the	strings	
sorted	in	ascending	order.		
	
Note	that	passing	null	to	the	sort()	method	does	not	
result	in	a	NullPointerExcep=on.	
	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	correct	op4on	based	on	this	program:	
	
import java.util.stream.Stream;
public class Reduce {
public static void main(String []args) {
Stream<String> words = Stream.of("one", "two", "three");
int len = words.mapToInt(String::length).reduce(0, (len1, len2) ->
len1 + len2);
System.out.println(len);
}
}
	
A.	This	program	does	not	compile	and	results	in	compiler	error(s)	
B.	This	program	prints:	onetwothree	
C.	This	program	prints:	11	
D.	This	program	throws	an	IllegalArgumentExcep=on	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	correct	op4on	based	on	this	program:	
	
import java.util.stream.Stream;
public class Reduce {
public static void main(String []args) {
Stream<String> words = Stream.of("one", "two", "three");
int len = words.mapToInt(String::length).reduce(0, (len1, len2) ->
len1 + len2);
System.out.println(len);
}
}
	
A.	This	program	does	not	compile	and	results	in	compiler	error(s)	
B.	This	program	prints:	onetwothree	
C.	This	program	prints:	11	
D.	This	program	throws	an	IllegalArgumentExcep=on	
h=ps://ocpjava.wordpress.com
Explana4on	
C.	This	program	prints:	11	
	
This	program	compiles	without	any	errors.	The	
variable	words	point	to	a	stream	of	Strings.	The	call	
mapToInt(String::length)	results	in	a	stream	of	
Integers	with	the	length	of	the	strings.	One	of	the	
overloaded	versions	of	reduce()	method	takes	two	
arguments:	
	
T	reduce(T	iden=ty,	BinaryOperator<T>	accumulator);	
The	first	argument	is	the	iden=ty	value,	which	is	given	
as	the	value	0	here.	
	
The	second	operand	is	a	BinaryOperator	match	for	
the	lambda	expression	(len1,	len2)	->	len1	+	len2.	The	
reduce()	method	thus	adds	the	length	of	all	the	three	
strings	in	the	stream,	which	results	in	the	value	11.	
h=ps://ocpjava.wordpress.com
Ques4on		
Choose	the	correct	op4on	based	on	this	code	segment	:	
	
List<Integer> ints = Arrays.asList(1, 2, 3, 4, 5);
ints.replaceAll(i -> i * i); // LINE
System.out.println(ints);
A.	This	code	segment	prints:	[1,	2,	3,	4,	5]	
B.	This	program	prints:	[1,	4,	9,	16,	25]	
C.	This	code	segment	throws	java.lang.UnsupportedOpera=onExcep=on	
D.	This	code	segment	results	in	a	compiler	error	in	the	line	marked	with	the	
comment	LINE	
h=ps://ocpjava.wordpress.com
Answer	
Choose	the	correct	op4on	based	on	this	code	segment	:	
	
List<Integer> ints = Arrays.asList(1, 2, 3, 4, 5);
ints.replaceAll(i -> i * i); // LINE
System.out.println(ints);
A.	This	code	segment	prints:	[1,	2,	3,	4,	5]	
B.	This	program	prints:	[1,	4,	9,	16,	25]	
C.	This	code	segment	throws	java.lang.UnsupportedOpera=onExcep=on	
D.	This	code	segment	results	in	a	compiler	error	in	the	line	marked	with	the	
comment	LINE	
h=ps://ocpjava.wordpress.com
Explana4on	
b)	This	program	prints:	[1,	4,	9,	16,	25]	
	
The	replaceAll()	method	(added	in	Java	8	to	the	List	
interface)	takes	an	UnaryOperator	as	the	argument.	In	
this	case,	the	unary	operator	squares	the	integer	
values.	Hence,	the	program	prints	[1,	4,	9,	16,	25].		
h=ps://ocpjava.wordpress.com
•  Check out our latest book for
OCPJP 8 exam preparation
•  http://amzn.to/1NNtho2
•  www.apress.com/9781484218358
(download source code here)
•  https://ocpjava.wordpress.com
(more ocpjp 8 resources here)
http://facebook.com/ocpjava
Linkedin OCP Java group

More Related Content

What's hot (20)

PDF
Spring MVC Framework
Hùng Nguyễn Huy
 
PPT
MVC ppt presentation
Bhavin Shah
 
PPT
JDBC – Java Database Connectivity
Information Technology
 
PPTX
ASP.NET State management
Shivanand Arur
 
PPTX
A presentation on front end development
Veronica Ojochona Michael (MCP)
 
PPTX
Online Admission System
Laukesh Jaishwal
 
PDF
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
PPT
Java Servlets
Nitin Pai
 
PDF
Asp.net state management
priya Nithya
 
PPTX
Php.ppt
Nidhi mishra
 
PPT
jQuery Ajax
Anand Kumar Rajana
 
PPT
JDBC Java Database Connectivity
Ranjan Kumar
 
PDF
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
dezyneecole
 
PDF
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
PDF
Lecture 3: Servlets - Session Management
Fahad Golra
 
DOCX
Online Store Modules
Kavita Sharma
 
PPT
Java servlet life cycle - methods ppt
kamal kotecha
 
PPTX
Introduction to spring boot
Santosh Kumar Kar
 
PPTX
Spring boot Introduction
Jeevesh Pandey
 
Spring MVC Framework
Hùng Nguyễn Huy
 
MVC ppt presentation
Bhavin Shah
 
JDBC – Java Database Connectivity
Information Technology
 
ASP.NET State management
Shivanand Arur
 
A presentation on front end development
Veronica Ojochona Michael (MCP)
 
Online Admission System
Laukesh Jaishwal
 
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
Java Servlets
Nitin Pai
 
Asp.net state management
priya Nithya
 
Php.ppt
Nidhi mishra
 
jQuery Ajax
Anand Kumar Rajana
 
JDBC Java Database Connectivity
Ranjan Kumar
 
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
dezyneecole
 
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
Lecture 3: Servlets - Session Management
Fahad Golra
 
Online Store Modules
Kavita Sharma
 
Java servlet life cycle - methods ppt
kamal kotecha
 
Introduction to spring boot
Santosh Kumar Kar
 
Spring boot Introduction
Jeevesh Pandey
 

Similar to OCP Java SE 8 Exam - Sample Questions - Java Streams API (17)

PPT
Java Programmin: Selections
Karwan Mustafa Kareem
 
PDF
OXUS20 JAVA Programming Questions and Answers PART I
Abdul Rahman Sherzad
 
PPTX
OCJP Samples Questions: Exceptions and assertions
Hari kiran G
 
DOCX
 staple  here  (-­‐2  if  not  stapled  or .docx
mayank272369
 
PDF
Java puzzle-1195101951317606-3
rsmuralirs
 
PPTX
Java SE 17 Study Guide for Certification - Chapter 02
williamrobertherman
 
PDF
Java Puzzle
SFilipp
 
PDF
Which if statement below tests if letter holds R (letter is a char .pdf
aniarihant
 
PPTX
Master the Concepts Behind the Java 10 Challenges and Eliminate Stressful Bugs
Rafael Chinelato Del Nero
 
PPTX
OCA Java SE 8 Exam Chapter 6 Exceptions
İbrahim Kürce
 
PDF
Review Questions for Exam 10182016 1. public class .pdf
mayorothenguyenhob69
 
PDF
OCP Java SE 8 Exam - Sample Questions - Exceptions and Assertions
Ganesh Samarthyam
 
DOCX
Test final jav_aaa
BagusBudi11
 
DOCX
What is an exception in java?
Pramod Yadav
 
PDF
Cracking OCA and OCP Java 8 Exams
Ganesh Samarthyam
 
Java Programmin: Selections
Karwan Mustafa Kareem
 
OXUS20 JAVA Programming Questions and Answers PART I
Abdul Rahman Sherzad
 
OCJP Samples Questions: Exceptions and assertions
Hari kiran G
 
 staple  here  (-­‐2  if  not  stapled  or .docx
mayank272369
 
Java puzzle-1195101951317606-3
rsmuralirs
 
Java SE 17 Study Guide for Certification - Chapter 02
williamrobertherman
 
Java Puzzle
SFilipp
 
Which if statement below tests if letter holds R (letter is a char .pdf
aniarihant
 
Master the Concepts Behind the Java 10 Challenges and Eliminate Stressful Bugs
Rafael Chinelato Del Nero
 
OCA Java SE 8 Exam Chapter 6 Exceptions
İbrahim Kürce
 
Review Questions for Exam 10182016 1. public class .pdf
mayorothenguyenhob69
 
OCP Java SE 8 Exam - Sample Questions - Exceptions and Assertions
Ganesh Samarthyam
 
Test final jav_aaa
BagusBudi11
 
What is an exception in java?
Pramod Yadav
 
Cracking OCA and OCP Java 8 Exams
Ganesh Samarthyam
 
Ad

More from Ganesh Samarthyam (20)

PDF
Wonders of the Sea
Ganesh Samarthyam
 
PDF
Animals - for kids
Ganesh Samarthyam
 
PDF
Applying Refactoring Tools in Practice
Ganesh Samarthyam
 
PDF
CFP - 1st Workshop on “AI Meets Blockchain”
Ganesh Samarthyam
 
PDF
Great Coding Skills Aren't Enough
Ganesh Samarthyam
 
PDF
College Project - Java Disassembler - Description
Ganesh Samarthyam
 
PDF
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
PDF
Design Patterns - Compiler Case Study - Hands-on Examples
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Brief Presentation
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
PDF
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
PDF
OO Design and Design Patterns in C++
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Sponsorship Deck
Ganesh Samarthyam
 
PDF
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
PPT
Google's Go Programming Language - Introduction
Ganesh Samarthyam
 
PDF
Java Generics - Quiz Questions
Ganesh Samarthyam
 
PDF
Java Generics - by Example
Ganesh Samarthyam
 
PDF
Software Architecture - Quiz Questions
Ganesh Samarthyam
 
PDF
Docker by Example - Quiz
Ganesh Samarthyam
 
PDF
Core Java: Best practices and bytecodes quiz
Ganesh Samarthyam
 
Wonders of the Sea
Ganesh Samarthyam
 
Animals - for kids
Ganesh Samarthyam
 
Applying Refactoring Tools in Practice
Ganesh Samarthyam
 
CFP - 1st Workshop on “AI Meets Blockchain”
Ganesh Samarthyam
 
Great Coding Skills Aren't Enough
Ganesh Samarthyam
 
College Project - Java Disassembler - Description
Ganesh Samarthyam
 
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
Design Patterns - Compiler Case Study - Hands-on Examples
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Brief Presentation
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
OO Design and Design Patterns in C++
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Sponsorship Deck
Ganesh Samarthyam
 
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
Google's Go Programming Language - Introduction
Ganesh Samarthyam
 
Java Generics - Quiz Questions
Ganesh Samarthyam
 
Java Generics - by Example
Ganesh Samarthyam
 
Software Architecture - Quiz Questions
Ganesh Samarthyam
 
Docker by Example - Quiz
Ganesh Samarthyam
 
Core Java: Best practices and bytecodes quiz
Ganesh Samarthyam
 
Ad

Recently uploaded (20)

PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 

OCP Java SE 8 Exam - Sample Questions - Java Streams API