SlideShare a Scribd company logo
1 of 17
Download to read offline
OCP Java SE 8 Exam
Sample Questions	
Excep&ons	and	Asser&ons	
Hari	Kiran	&	S	G	Ganesh
Ques&on		
Consider	the	following	program:	
	
class	ChainedExcep/on	{	
				public	sta/c	void	foo()	{	
								try	{	
														throw	new	ArrayIndexOutOfBoundsExcep/on();	
								}	catch(ArrayIndexOutOfBoundsExcep/on	oob)	{	
													Run/meExcep/on	re	=	new	Run/meExcep/on(oob);	
													re.initCause(oob);	
													throw	re;	
							}	
				}				
				public	sta/c	void	main(String	[]args)	{	
							try	{	
											foo();	
							}	catch(Excep/on	re)	{	
											System.out.println(re.getClass());	
					}		}	}		
h@ps://ocpjava.wordpress.com	
When	executed	this	program	from	
main()	by	calling	foo()	method,	
prints	which	of	the	following?	
	
A.  class	
java.lang.Run/meExcep/on	
B.  class	
java.lang.IllegalStateExcep/on	
C.  class	java.lang.Excep/on	
D.  class	
java.lang.ArrayIndexOutOfBou
ndsExcep/on
Answer	
Consider	the	following	program:	
	
class	ChainedExcep/on	{	
				public	sta/c	void	foo()	{	
								try	{	
														throw	new	ArrayIndexOutOfBoundsExcep/on();	
								}	catch(ArrayIndexOutOfBoundsExcep/on	oob)	{	
													Run/meExcep/on	re	=	new	Run/meExcep/on(oob);	
													re.initCause(oob);	
													throw	re;	
							}	
				}				
				public	sta/c	void	main(String	[]args)	{	
							try	{	
											foo();	
							}	catch(Excep/on	re)	{	
											System.out.println(re.getClass());	
					}		}	}		
h@ps://ocpjava.wordpress.com	
When	executed	this	program	from	
main()	by	calling	foo()	method,	
prints	which	of	the	following?	
	
A.  class	
java.lang.Run/meExcep/on	
B.  class	
java.lang.IllegalStateExcep&on	
C.  class	java.lang.Excep/on	
D.  class	
java.lang.ArrayIndexOutOfBou
ndsExcep/on
Explana&on	
B.	class	java.lang.IllegalStateExcep/on	
	
In	the	expression	new	Run/meExcep/on(oob);,		the	
excep/on	object	oob	is	already	chained	to	the	
Run/meExcep/on	object.	The	method	initCause()	cannot	be	
called	on	an	excep/on	object	that	already	has	an	excep/on	
object	chained	during	the	constructor	call.		
	
Hence,	the	call	re.initCause(oob);	results	in	initCause()	
throwing	an	IllegalStateExcep/on	.	
h@ps://ocpjava.wordpress.com
Ques&on		
Consider	the	following	program:	
	
class	EHBehavior	{	
				public	sta/c	void	main(String	[]args)	{	
								try	{	
												int	i	=	10/0;	//	LINE	A	
											System.out.print("aXer	throw	->	");	
								}	catch(Arithme/cExcep/on	ae)	{	
												System.out.print("in	catch	->	");	
													return;	
								}	finally	{	
												System.out.print("in	finally	->	");	
								}	
								System.out.print("aXer	everything");	
				}	}	
	
Which	one	of	the	following	op/ons	best	describes	the	behaviour	of	this	program?	
	
A.	The	program	prints	the	following:	in	catch	->	in	finally	->	aXer	everything	
B.	The	program	prints	the	following:	aXer	throw	->	in	catch	->	in	finally	->	aXer	
everything	
C.	The	program	prints	the	following:	in	catch	->	aXer	everything	
D.	The	program	prints	the	following:	in	catch	->	in	finally	->	
h@ps://ocpjava.wordpress.com
Answer	
Consider	the	following	program:	
	
class	EHBehavior	{	
				public	sta/c	void	main(String	[]args)	{	
								try	{	
												int	i	=	10/0;	//	LINE	A	
											System.out.print("aXer	throw	->	");	
								}	catch(Arithme/cExcep/on	ae)	{	
												System.out.print("in	catch	->	");	
												return;	
								}	finally	{	
												System.out.print("in	finally	->	");	
								}	
								System.out.print("aXer	everything");	
				}	}	
	
Which	one	of	the	following	op/ons	best	describes	the	behaviour	of	this	program?	
	
A.	The	program	prints	the	following:	in	catch	->	in	finally	->	aXer	everything	
B.	The	program	prints	the	following:	aXer	throw	->	in	catch	->	in	finally	->	aXer	
everything	
C.	The	program	prints	the	following:	in	catch	->	aXer	everything	
D.	The	program	prints	the	following:	in	catch	->	in	finally	->	
h@ps://ocpjava.wordpress.com
Explana&on	
D	.	The	program	prints	the	following:	in	catch	->	in	finally	->	
	
The	statement	println("aXer	throw	->	");	will	never	be	
executed	since	the	line	marked	with	the	comment	LINE	A	
throws	an	excep/on.	The	catch	handles	Arithme/cExcep/on	,	
so	println("in	catch	->	");	will	be	executed.	
	
Following	that,	there	is	a	return	statement,	so	the	func/on	
returns.	But	before	the	func/on	returns,	the	finally	statement	
should	be	called,	hence	the	statement	println("in	finally	->	");	
will	get	executed.	So,	the	statement	println("aXer	
everything");	will	never	get	executed	
h@ps://ocpjava.wordpress.com
Ques&on		
Consider	the	following	program:	
	
import	java.u/l.Scanner;	
class	AutoCloseableTest	{	
				public	sta/c	void	main(String	[]args)	{	
								try	(Scanner	consoleScanner	=	new	Scanner(System.in))	{	
												consoleScanner.close();	//	CLOSE	
												consoleScanner.close();	
								}	
					}	
}	
	
Which	one	of	the	following	statements	is	correct?	
A.	This	program	terminates	normally	without	throwing	any	excep/ons	
B.	This	program	throws	an	IllegalStateExcep/on	
C.	This	program	throws	an	IOExcep/on	
D.	This	program	throws	an	AlreadyClosedExcep/on	
h@ps://ocpjava.wordpress.com
Answer	
Consider	the	following	program:	
	
import	java.u/l.Scanner;	
class	AutoCloseableTest	{	
				public	sta/c	void	main(String	[]args)	{	
								try	(Scanner	consoleScanner	=	new	Scanner(System.in))	{	
												consoleScanner.close();	//	CLOSE	
												consoleScanner.close();	
								}	
					}	
}	
	
Which	one	of	the	following	statements	is	correct?	
A.	This	program	terminates	normally	without	throwing	any	excep&ons	
B.	This	program	throws	an	IllegalStateExcep/on	
C.	This	program	throws	an	IOExcep/on	
D.	This	program	throws	an	AlreadyClosedExcep/on	
h@ps://ocpjava.wordpress.com
Explana&on	
A	.	This	program	terminates	normally	without	throwing	any	
excep/ons	
	
The	try-with-resources	statement	internally	expands	to	call	
the	close()	method	in	the	finally	block.	If	the	resource	is	
explicitly	closed	in	the	try	block,	then	calling	close()	
again	does	not	have	any	effect.	From	the	descrip/on	of	the	
close()	method	in	the	AutoCloseable	interface:	“Closes	this	
stream	and	releases	any	system	resources	associated	with	it.	
If	the	stream	is	already	closed,	then	invoking	this	method	has	
no	effect.”	
h@ps://ocpjava.wordpress.com
Ques&on		
Consider	the	following	program:	
	
class	Asser/onFailure	{	
				public	sta/c	void	main(String	[]args)	{	
								try	{	
													assert	false;	
								}	catch(Run/meExcep/on	re)	{	
													System.out.println("Run/meExcep/on");	
								}	catch(Excep/on	e)	{	
													System.out.println("Excep/on");	
								}	catch(Error	e)	{	//	LINE	A	
														System.out.println("Error"	+	e);	
									}	catch(Throwable	t)	{	
														System.out.println("Throwable");	
									}		
						}	
}	
h@ps://ocpjava.wordpress.com	
This	program	is	invoked	from	the	
command	line	as	follows:	
java	Asser)onFailure	
	
Choose	one	of	the	following	op/ons	
describes	the	behaviour	of	this	
program:	
	
A.	Prints	"Run/meExcep/on"	in	
console	
B.	Prints	"Excep/on"	
C.	Prints	"Error"	
D.	Prints	"Throwable"	
E.	Does	not	print	any	output	on	
console
Answer	
Consider	the	following	program:	
	
class	Asser/onFailure	{	
				public	sta/c	void	main(String	[]args)	{	
								try	{	
													assert	false;	
								}	catch(Run/meExcep/on	re)	{	
													System.out.println("Run/meExcep/on");	
								}	catch(Excep/on	e)	{	
													System.out.println("Excep/on");	
								}	catch(Error	e)	{	//	LINE	A	
														System.out.println("Error"	+	e);	
									}	catch(Throwable	t)	{	
														System.out.println("Throwable");	
									}		
						}	
}	
h@ps://ocpjava.wordpress.com	
This	program	is	invoked	from	the	
command	line	as	follows:	
java	Asser)onFailure	
	
Choose	one	of	the	following	op/ons	
describes	the	behaviour	of	this	
program:	
	
A.	Prints	"Run/meExcep/on"	in	
console	
B.	Prints	"Excep/on"	
C.	Prints	"Error"	
D.	Prints	"Throwable"	
E.	Does	not	print	any	output	on	
console
Explana&on	
E	.	Does	not	print	any	output	on	the	console	
	
By	default,	asser/ons	are	disabled.	If	-ea	(or	the	-
enableasser/ons	op/on	to	enable	asser/ons),	then	the	
program	would	have	printed	"Error"	since	the	excep/on	
thrown		in	the	case	of	asser/on	failure	is		
java.lang.Asser/onError	,	which	is	derived	from	
the	Error	class	
h@ps://ocpjava.wordpress.com
Ques&on		
Consider	the	following	class	hierarchy	from	the	package		
javax.security.auth.login	and	answer	the	ques&ons.	
	
	
	
	
	
	
	
Which	of	the	following	handlers	that	makes	use	of	mul/-catch	excep/on	handler	
feature	will	compile	without	errors?	
	
A.	catch	(AccountExcep/on	|	LoginExcep/on	excep/on)	
B.	catch	(AccountExcep/on	|	AccountExpiredExcep/on	excep/on)	
C.	catch	(AccountExpiredExcep/on	|	AccountNotFoundExcep/on	excep/on)	
D.	catch	(AccountExpiredExcep/on	excep/on1	|	AccountNotFoundExcep/on	
excep/on2)	
h@ps://ocpjava.wordpress.com
Answer	
Consider	the	following	class	hierarchy	from	the	package		
javax.security.auth.login	and	answer	the	ques&ons.	
	
	
	
	
	
	
	
Which	of	the	following	handlers	that	makes	use	of	mul/-catch	excep/on	handler	
feature	will	compile	without	errors?	
	
A.	catch	(AccountExcep/on	|	LoginExcep/on	excep/on)	
B.	catch	(AccountExcep/on	|	AccountExpiredExcep/on	excep/on)	
C.	catch	(AccountExpiredExcep&on	|	AccountNotFoundExcep&on	excep&on)	
D.	catch	(AccountExpiredExcep/on	excep/on1	|	AccountNotFoundExcep/on	
excep/on2)	
h@ps://ocpjava.wordpress.com
Explana&on	
C	.	catch	(A	ccountExpiredExcep/on	|	A	
ccountNotFoundExcep/on	excep/on)	
	
For	A	and	B,	the	base	type	handler	is	provided	with	the	
derived	type	handler,	hence	the	mul/-catch	is	incorrect.		
	
For	D,	the	excep/on	name	excep/on1	is	redundant	and	will	
result	in	a	syntax	error.	C	is	the	correct	op/on	and	this	will	
compile	fine	without	errors.	
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

More Related Content

What's hot

backtracking algorithms of ada
backtracking algorithms of adabacktracking algorithms of ada
backtracking algorithms of adaSahil Kumar
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler designRiazul Islam
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated AnnealingJoy Dutta
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxingGeetha Manohar
 
Chapter 2 Representation Of Algorithms 2
Chapter 2  Representation Of  Algorithms 2Chapter 2  Representation Of  Algorithms 2
Chapter 2 Representation Of Algorithms 2Li-Anne Serrano
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAsst.prof M.Gokilavani
 
Dijkstra algorithm a dynammic programming approach
Dijkstra algorithm   a dynammic programming approachDijkstra algorithm   a dynammic programming approach
Dijkstra algorithm a dynammic programming approachAkash Sethiya
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVAVINOTH R
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Ravindra Raju Kolahalam
 
Ll(1) Parser in Compilers
Ll(1) Parser in CompilersLl(1) Parser in Compilers
Ll(1) Parser in CompilersMahbubur Rahman
 
Exception handling in Java
Exception handling in JavaException handling in Java
Exception handling in JavaAnkit Rai
 
Exception Handling in JAVA
Exception Handling in JAVAException Handling in JAVA
Exception Handling in JAVASURIT DATTA
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programmingzahid7578
 
Form Processing In Php
Form Processing In PhpForm Processing In Php
Form Processing In PhpHarit Kothari
 

What's hot (20)

Arrays in java
Arrays in javaArrays in java
Arrays in java
 
backtracking algorithms of ada
backtracking algorithms of adabacktracking algorithms of ada
backtracking algorithms of ada
 
Applets
AppletsApplets
Applets
 
Input output streams
Input output streamsInput output streams
Input output streams
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler design
 
Built in exceptions
Built in exceptions Built in exceptions
Built in exceptions
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
 
Exception handling in Java
Exception handling in JavaException handling in Java
Exception handling in Java
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxing
 
Chapter 2 Representation Of Algorithms 2
Chapter 2  Representation Of  Algorithms 2Chapter 2  Representation Of  Algorithms 2
Chapter 2 Representation Of Algorithms 2
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptx
 
Dijkstra algorithm a dynammic programming approach
Dijkstra algorithm   a dynammic programming approachDijkstra algorithm   a dynammic programming approach
Dijkstra algorithm a dynammic programming approach
 
MULTI THREADING IN JAVA
MULTI THREADING IN JAVAMULTI THREADING IN JAVA
MULTI THREADING IN JAVA
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
Ll(1) Parser in Compilers
Ll(1) Parser in CompilersLl(1) Parser in Compilers
Ll(1) Parser in Compilers
 
Exception handling in Java
Exception handling in JavaException handling in Java
Exception handling in Java
 
Compiler design lab programs
Compiler design lab programs Compiler design lab programs
Compiler design lab programs
 
Exception Handling in JAVA
Exception Handling in JAVAException Handling in JAVA
Exception Handling in JAVA
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programming
 
Form Processing In Php
Form Processing In PhpForm Processing In Php
Form Processing In Php
 

Similar to OCP Java SE 8 Exam - Sample Questions - Exceptions and Assertions

모던자바의 역습
모던자바의 역습모던자바의 역습
모던자바의 역습DoHyun Jung
 
OCJP Samples Questions: Exceptions and assertions
OCJP Samples Questions: Exceptions and assertionsOCJP Samples Questions: Exceptions and assertions
OCJP Samples Questions: Exceptions and assertionsHari kiran G
 
Cs141 mid termexam2_v1
Cs141 mid termexam2_v1Cs141 mid termexam2_v1
Cs141 mid termexam2_v1Fahadaio
 
OCP Java SE 8 Exam - Sample Questions - Generics and Collections
OCP Java SE 8 Exam - Sample Questions - Generics and CollectionsOCP Java SE 8 Exam - Sample Questions - Generics and Collections
OCP Java SE 8 Exam - Sample Questions - Generics and CollectionsGanesh Samarthyam
 
Java Generics
Java GenericsJava Generics
Java Genericsjeslie
 
Lecture - 5 Control Statement
Lecture - 5 Control StatementLecture - 5 Control Statement
Lecture - 5 Control Statementmanish kumar
 
Java - Exception Handling
Java - Exception HandlingJava - Exception Handling
Java - Exception HandlingPrabhdeep Singh
 
Inside the JVM - Follow the white rabbit! / Breizh JUG
Inside the JVM - Follow the white rabbit! / Breizh JUGInside the JVM - Follow the white rabbit! / Breizh JUG
Inside the JVM - Follow the white rabbit! / Breizh JUGSylvain Wallez
 
01-ch01-1-println.ppt java introduction one
01-ch01-1-println.ppt java introduction one01-ch01-1-println.ppt java introduction one
01-ch01-1-println.ppt java introduction onessuser656672
 

Similar to OCP Java SE 8 Exam - Sample Questions - Exceptions and Assertions (20)

모던자바의 역습
모던자바의 역습모던자바의 역습
모던자바의 역습
 
OCJP Samples Questions: Exceptions and assertions
OCJP Samples Questions: Exceptions and assertionsOCJP Samples Questions: Exceptions and assertions
OCJP Samples Questions: Exceptions and assertions
 
3 j unit
3 j unit3 j unit
3 j unit
 
Java programs
Java programsJava programs
Java programs
 
Slides
SlidesSlides
Slides
 
Cs141 mid termexam2_v1
Cs141 mid termexam2_v1Cs141 mid termexam2_v1
Cs141 mid termexam2_v1
 
OCP Java SE 8 Exam - Sample Questions - Generics and Collections
OCP Java SE 8 Exam - Sample Questions - Generics and CollectionsOCP Java SE 8 Exam - Sample Questions - Generics and Collections
OCP Java SE 8 Exam - Sample Questions - Generics and Collections
 
Java Generics
Java GenericsJava Generics
Java Generics
 
Lecture - 5 Control Statement
Lecture - 5 Control StatementLecture - 5 Control Statement
Lecture - 5 Control Statement
 
Nalinee java
Nalinee javaNalinee java
Nalinee java
 
Java API, Exceptions and IO
Java API, Exceptions and IOJava API, Exceptions and IO
Java API, Exceptions and IO
 
JUnit 5
JUnit 5JUnit 5
JUnit 5
 
Java - Exception Handling
Java - Exception HandlingJava - Exception Handling
Java - Exception Handling
 
Java
JavaJava
Java
 
JavaFXScript
JavaFXScriptJavaFXScript
JavaFXScript
 
Loop
LoopLoop
Loop
 
Inside the JVM - Follow the white rabbit! / Breizh JUG
Inside the JVM - Follow the white rabbit! / Breizh JUGInside the JVM - Follow the white rabbit! / Breizh JUG
Inside the JVM - Follow the white rabbit! / Breizh JUG
 
Pimp My Java LavaJUG
Pimp My Java LavaJUGPimp My Java LavaJUG
Pimp My Java LavaJUG
 
01-ch01-1-println.ppt java introduction one
01-ch01-1-println.ppt java introduction one01-ch01-1-println.ppt java introduction one
01-ch01-1-println.ppt java introduction one
 
Exception handling
Exception handlingException handling
Exception handling
 

More from Ganesh Samarthyam

Applying Refactoring Tools in Practice
Applying Refactoring Tools in PracticeApplying Refactoring Tools in Practice
Applying Refactoring Tools in PracticeGanesh Samarthyam
 
CFP - 1st Workshop on “AI Meets Blockchain”
CFP - 1st Workshop on “AI Meets Blockchain”CFP - 1st Workshop on “AI Meets Blockchain”
CFP - 1st Workshop on “AI Meets Blockchain”Ganesh Samarthyam
 
Great Coding Skills Aren't Enough
Great Coding Skills Aren't EnoughGreat Coding Skills Aren't Enough
Great Coding Skills Aren't EnoughGanesh Samarthyam
 
College Project - Java Disassembler - Description
College Project - Java Disassembler - DescriptionCollege Project - Java Disassembler - Description
College Project - Java Disassembler - DescriptionGanesh Samarthyam
 
Coding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeCoding Guidelines - Crafting Clean Code
Coding Guidelines - Crafting Clean CodeGanesh Samarthyam
 
Design Patterns - Compiler Case Study - Hands-on Examples
Design Patterns - Compiler Case Study - Hands-on ExamplesDesign Patterns - Compiler Case Study - Hands-on Examples
Design Patterns - Compiler Case Study - Hands-on ExamplesGanesh Samarthyam
 
Bangalore Container Conference 2017 - Brief Presentation
Bangalore Container Conference 2017 - Brief PresentationBangalore Container Conference 2017 - Brief Presentation
Bangalore Container Conference 2017 - Brief PresentationGanesh Samarthyam
 
Bangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - PosterBangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - PosterGanesh Samarthyam
 
Software Design in Practice (with Java examples)
Software Design in Practice (with Java examples)Software Design in Practice (with Java examples)
Software Design in Practice (with Java examples)Ganesh Samarthyam
 
OO Design and Design Patterns in C++
OO Design and Design Patterns in C++ OO Design and Design Patterns in C++
OO Design and Design Patterns in C++ Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Sponsorship Deck
Bangalore Container Conference 2017 - Sponsorship DeckBangalore Container Conference 2017 - Sponsorship Deck
Bangalore Container Conference 2017 - Sponsorship DeckGanesh Samarthyam
 
Let's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming LanguageLet's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming LanguageGanesh Samarthyam
 
Google's Go Programming Language - Introduction
Google's Go Programming Language - Introduction Google's Go Programming Language - Introduction
Google's Go Programming Language - Introduction Ganesh Samarthyam
 
Java Generics - Quiz Questions
Java Generics - Quiz QuestionsJava Generics - Quiz Questions
Java Generics - Quiz QuestionsGanesh Samarthyam
 
Software Architecture - Quiz Questions
Software Architecture - Quiz QuestionsSoftware Architecture - Quiz Questions
Software Architecture - Quiz QuestionsGanesh Samarthyam
 
Core Java: Best practices and bytecodes quiz
Core Java: Best practices and bytecodes quizCore Java: Best practices and bytecodes quiz
Core Java: Best practices and bytecodes quizGanesh Samarthyam
 

More from Ganesh Samarthyam (20)

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

Recently uploaded

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 

Recently uploaded (20)

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 

OCP Java SE 8 Exam - Sample Questions - Exceptions and Assertions