!"#$%& (#)*&
! Copyright © 2015 by Ranga Karanam All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Ayyappa Constructions is not affiliated with Sun Microsystems, Inc., and this book was written without endorsement from Sun Microsystems, Inc. Lead Editor: Ranga Karanam For information on translations, please contact us at a t
[email protected] or http://www.in28minutes.com http://www.in28minutes.com.. The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor our company shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work.
# "#$%& '( •
•
•
•
At in28Minutes, we ask ourselves one question everyday. How do we help you learn effectively - that is quickly and retain more of what you have learnt? We use Problem-Solution based Step-By-Step Hands-on Approach With Practical, Real World Application Examples. Our success on Udemy and Youtube (1.5 Million Views & 12K Subscribers) speaks volumes about the success of our approach. While our primary expertise is on Development, Design & Architecture Java & Related Frameworks (Spring, Struts, Hibernate) we are expanding into the front-end world (Bootstrap, JQuery, Angular JS).
!"#$%&' )' *+ ,- .)+")&/ ,-0 ,1234
)* +$%,%#-
)* '.-/0
$
%
& '()*+ ,- .,/'+/'0 (),1' 10 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 #
"# $"%&%'( ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) * "# %+(,$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) * 0345/6 78. 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 9
-(./(01 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 2 3/&4%' -(5"1/&"-$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 2 6"%-1( +(16-/5&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 2 1&(5 0/1( +(&7/81 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 9 :(8( ;+) (33*5.('5,/ ;5'< :03 (/= 0+48*+'0 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 >?
-(./(01 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :; 3/&4%' -(5"1/&"-$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :: 6"%-1( +(16-/5&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :: 0345/6 -4(7+;,4@ 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 >!
-(./(01 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :< 3/&4%' -(5"1/&"-$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :* 6"%-1( +(16-/5&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :* ,):+.' ,45+/'+= 34,64(775/6 A,,30B .,/.+3'0 ;5'< :(8( 22222222222222222222222222222222222222222222222222222222222222222222 >$
-(./(01 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) := 3/&4%' -(5"1/&"-$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :> 6"%-1( +(16-/5&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :> 7(8+/ 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 >&
-(./(01 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :? 3/&4%' -(5"1/&"-$ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :@ 6"%-1( +(16-/5&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :@ ,'<+4 C,1'1)+ .,140+0 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222>9
+(1/3# 57&&(-#1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :2 (68/51( ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :2 A7.7 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :9 6BB /# &(8%3%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :9 &(1& +-/.(# +(.(8"5,(#& &++ )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <; &-7#176&/"# ,7#73(,(#& )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <; A7.716-/5& )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <: A7.7 6"88(6&/"# C-7,(0"-D ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <:
D ,"6D/&" )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) << 6 1&(5 '$ 1&(5 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) << 6 5%EE8(1 7#+ 75&/&%+( /#&(-./(0 F %(1&/"#1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <* 6 &%&"-/78 /# &(8%3% )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <* :(8( '1',45(* 5/ '+*161 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 !# <''30EFF;;;2C,1'1)+2.,7F;('.
*:(7K*50'H3*%!&?+>>!.9(!D= 22222222222222222222222222222222 !# 7,4+ 1=+7C .,140+02222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 !$
A7.7 (( ,7+( (71$ G +(1/3# 57&&(-#1 H 7-64/&(6&%-( 7#+ C-7,(0"-D1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <= (68/51( ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <= +(1/3# 57&&(-#1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <> A%#/& )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <> 6 &%&"-/78 C"- '(3/##(-1 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 6 5%EE8(1 C"- /#&(-./(0 5-(57-7&/"# )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) :(8( 5/'+485+; 85=+, 615=+ 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 !D
17,58( ./+("1 )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <@ 6",58(&( /#&(-./(0 3%/+( G <= ./+("1 I =;;B F %(1&/"#1 G >;J +/16"%#& )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <@ -(./(01 "# "%- A7.7 /#&(-./(0 3%/+( )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) <2
9 1234*5 678 CLMNMOP
1QPRS
$KLMLNO PKLQRO PKSOQR MTO CUQRM @ 1MOVR
%WOXY 6KLQRO PKSOQR Z[[ <> 1MOVR
TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZH)[/T6Y\=]?C
TMMVR\]]^^^)LWOXY)PKX]RVQU_`aXSPaMLMKQUZ[a bKQaNO`U__OQRaRMOVaNYaRMOV]
9-:4-;(
<4&=%# 9-2$(4&$30 TMMVR\]]`UMTLN)PKX]U_<2XU_LMOR]1VQU_`,SP1MOV'Y1MOV
8$%3(- >-(?342&4$* Developing your first Spring MVC Web Application is fun. In this course, you will learn the basics developing a Basic Todo Management Application using Spring MVC with Login and Logout functionalities. You will build the website step by step - in more than 25 steps. This course would be a perfect first step as an introduction to Java Web Application Development.
^ "#$ %&'' '()*+ ),#$- • • • • •
'ZRUP &KWK ,Z_Z`OXO_M 7VV[UPZMUK_ ^UMT 8K`U_]8K`KLM +URVZMPTOQ1OQS[OMH ,KWO[H 6K_MQK[[OQRH .UO^-ORK[SOQ Z_W CU[MOQR 7__KMZMUK_ NZROW ZVVQKZPT a c-OdLORM5ZQZXH c5ZMT.ZQUZN[OH c,KWO[7MMQUNLMOH c1ORRUK_7MMQUNLMOR OMP CKQXR a +ZMZ'U_WU_`H .Z[UWZMUK_H 1VQU_` 1OPLQUMYH /_MOQ_ZMUK_Z[UeZMUK_ Z_W (fPOVMUK_ 4Z_W[U_` 'ZRUP -(1& 1OQSUPOR
.-(/ 0&1( 2(-)&'1
•
1MOV :: \ 6K_bU`LQO ZVV[UPZMUK_ MK LRO 1VQU_` ,.6 1MOV :< \ CUQRM 1VQU_` ,.6 6K_MQK[[OQH c-ORVK_RO'KWYH c6K_MQK[[OQ 1MOV :* \ -OWUQOPM MK 8K`U_ A15 a 8K`U_6K_MQK[[OQH c-ORVK_RO'KWY Z_W .UO^ -ORK[SOQ 1MOV := \ +URVZMPTOQ1OQS[OM Z_W 8K`=g 1MOV :> \ 1TK^ LROQ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a c6K_MQK[[OQ7WSUPOH c(fPOVMUK_4Z_W[OQ Z_W OQQKQaVZ`O U_ ^ON WKM fX[ 1MOV *> \ 8OMiR ZWW /_MOQ_ZMUK_Z[UeZMUK_ a U:2_ 1MOV *? \ 'ZRUP 1VQU_` -ORM 1OQSUPOR a c-ORM6K_MQK[[OQ Z_W gZPhRK_aWZMZNU_W
•
1MOV *@ \ ,KQO -ORM 1OQSUPOR a c5ZMT.ZQUZN[O
• • • • • • • • • • • • • • • • • • • • • • • •
•
>? @A:A B-# "22C4?A&4$* ;4&= @1D A*. 1-3:C-&( CLMNMOP
1QPRS
$KLMLNO PKLQRO PKSOQR bUQRM @ 1MOVR
%WOXY 6KLQRO PKSOQR Z[[ <> 1MOVR
TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZH8Z_`aY]bW$9 TMMVR\]]^^^)LWOXY)PKX][OZQ_agZSZaROQS[OMRaZ_Wa gRVa^ONaZVV[UPZMUK_aU_a<>aRMOVR]
9-:4-;(
>> <4&=%# 9-2$(4&$30 TMMVR\]]`UMTLN)PKX]U_<2XU_LMOR]AZSZ0ON7VV[UPZMUK_1MOV'Y1MOV
8$%3(- >-(?342&4$* +OSO[KVU_` YKLQ bUQRM AZSZ 0ON 7VV[UPZMUK_ LRU_` A15 Z_W 1OQS[OMR UR bL_) /_ MTUR PKLQROH YKL ^U[[ [OZQ_ MTO NZRUPR WOSO[KVU_` Z 'ZRUP &KWK ,Z_Z`OXO_M 7VV[UPZMUK_ LRU_` AZSZ 1OQS[OMR Z_W A15 ^UMT 8K`U_ Z_W 8K`KLM bL_PMUK_Z[UMUOR) $KL ^U[[ NLU[W Z +Y_ZXUP 0ONRUMO LRU_` MTO 6KQO MOPT_K[K`UOR Kb AZSZ 0ON 5QK`QZXXU_`) $KL ^U[[ L_WOQRMZ_W MTO NZRUP PK_POVMR Kb AZSZ 0ON 7VV[UPZMUK_ +OSO[KVXO_M a 4&&5 VQKMKPK[H -OdLORMa-ORVK_RO PYP[OH A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
1MOV :> \ 7WWU_` ^ONgZQR bKQ gdLOQY Z_W NKKMRMQZV
•
1MOV :? \ ,URRU_` 1MOV \j 0O ^Z_M YKL MK MZhO Z NQOZh) #KMTU_` U_ TOQO))
•
1MOV :@ \ %VWZMU_` 'KKMRMQZV MK *)*)?
•
1MOV :2 \ ,KQO -ObZPMKQU_`
•
1MOV :9 \ 7WWU_` Z CU[MOQ bKQ ,KQO 1OPLQUMY)
•
1MOV <; \ 8K`KLM
•
1MOV <: \ &TOKQY \ %_WOQRMZ_W ,ZSO_ Z_W &KXPZM
•
1MOV << \ &TOKQY \ 1OQS[OM 8UbO6YP[O
•
1MOV <* \ &TOKQY \ ,KWO[ : Z_W ,KWO[ < ,.6 7QPTUMOPMLQOR
•
1MOV <= \ ,KSU_` 7WW CL_PMUK_Z[UMY MK Z #O^ 5Z`O)
•
1MOV <> \ 7WW 6ZMO`KQY CUO[W
•
1MOV \ CKQXZM MTO A15R NOMMOQ)
•
1MOV <@ \ A15 CQZ`XO_MR
>! 1234*5 E3A/-;$3F CLMNMOP
1QPRS
TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZH!$]6cNdM* TX
TMMVR\]]^^^)LWOXY)PKX]RVQU_`aMLMKQUZ[abKQa NO`U__OQR] 3`YS`aVN E TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZH!$]6cNdM* TXK`aVNH3*))Le!]&M7.4ebd7$dJP18!(#(#%f V^:#
9-:4-;(
>#
<4&=%# 9-2$(4&$30 TMMVR\]]`UMTLN)PKX]U_<2XU_LMOR]1VQU_`/_<2,U_LMOR
8$%3(- >-(?342&4$* A quick introduction to the Spring framework. Discover how to wire Java objects using Spring and dependency injection. You'll learn how to set up your system for Spring development, how to use Maven and how to write testable code with Spring. We take a focused approach taking a deep dive into most important and common Spring features.
B- ?$:-3 • • • • •
Spring Container, Dependency, and IOC (Inversion of Control) Aspect Oriented Programming JDBC Unit Testing with JUnit Dependency Management with Maven
G0 &=- -*. $H &=4( ?$%3(-I 0$% ;4CC #- A#C- &$ • • •
Understand the fundamentals of the Java Spring framework Understand What the Spring framework is for Develop Java Applications, the Spring way
>$ )#J-?& )34-*&-. D3$53A//4*5 K))D1L 8$*?-2&( ;4&= @A:A CLMNMOP
1QPRS
TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZHS:%40+\0^ L(
TMMVR\]]^^^)LWOXY)PKX][OZQ_aKNgOPMaKQUO_MOWa VQK`QZXXU_`aU_agZSZ]
9-:4-;(
>%
<4&=%# 9-2$(4&$30 TMMVR\]]`UMTLN)PKX]U_<2XU_LMOR]AZSZ"NgOPM"QUO_MOW5QK`QZXXU_`
8$%3(- >-(?342&4$* This course will help you Understand basic Object Oriented Programming concepts and help in applying these concepts with an Object Oriented Programming Language like Java. We will use real life examples to demonstrate and discuss the OOP concepts so that you get a good understanding of Object Oriented Programming Concepts. We'll go over important OOP concepts such as inheritance, interfaces and polymorphism. We will also discuss the principles behind Object Oriented Programming i.e. the SOLID principles. These principles will guide your object oriented programming implementations. By the end of this course you'll understand the basics of Object Oriented Programming and be prepared to take on more complex challenges.
>& 6A:-* CLMNMOP
TNNUVEFFWWW2SLMNMOP2XLRFWYNXTGZH?.-;P8egVc C
9-:4-;(
1QPRS
TMMVR\]]^^^)LWOXY)PKX][OZQ_aXZSO_agZSZa WOVO_WO_PYaXZ_Z`OXO_MaU_a<;aRMOVR]
>D
<4&=%# 9-2$(4&$30 TMMVR\]]`UMTLN)PKX]U_<2XU_LMOR],ZSO_/_<2,U_LMOR
8$%3(- >-(?342&4$* Maven is the most popular Java Dependency Management Tool. In this hands-on course, you will understand how Maven makes the life of a Java developer easy. We will use a step by step approach with 20 steps. During the course, you will automate these using Maven. • • • • •
Compiling Java Code Running Unit Tests Building Jar's and Wars Running web applications in Tomcat Setting up new projects
You will learn following features of Maven with 5 Example Projects on Github. •
• • • • • •
Dependency Management - including Transitive Dependencies Maven Project Object Model Maven Build Life Cycle Maven Plugins Maven Archetypes - Generate Projects Maven Best Practices Multi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(fVOQUO_POW AZSZ /_MOQSUO^ FLORMUK_R)XV=
•
*): AZSZ ""51 /_MOQSUO^ FLORMUK_R a 7 dLUPh QOSURUK_ Kb UXVKQMZ_M PK_POVMR)XV=
•
=) AZSZ 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R)XV=
•
=): AZSZ 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R a "SOQSUO^ a -OVOZM bQKX <):)XV=
•
=)< AZSZ 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R a 8URM /_MOQbZPO)XV=
•
=)* AZSZ 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R a ,ZV /_MOQbZPO)XV=
•
=)= AZSZ 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R a 1OM /_MOQbZPO)XV=
!9 •
>) (fPOVMUK_ 4Z_W[U_` /_MOQSUO^ FLORMUK_R)XV=
•
?) AZSZ &TQOZWR /_MOQSUO^ FLORMUK_R)XV=
•
@) 6K_PLQQO_M 6K[[OPMUK_R /_MOQSUO^ FLORMUK_R)XV=
•
<:) 1VQU_` /_MOQSUO^ FLORMUK_R)XV=
•
<<) 1VQU_` ,.6 /_MOQSUO^ FLORMUK_R)XV=
•
<*) 1MQLMR /_MOQSUO^ FLORMUK_R)XV=
•
<=) 4UNOQ_ZMO /_MOQSUO^ FLORMUK_R)XV=
•
<>) 0ON 1OQSUPOR /_MOQSUO^ FLORMUK_R)XV=
•
) -ORM 0ON ROQSUPOR /_MOQSUO^ FLORMUK_R)XV=
•
*:) +ORU`_ /_MOQSUO^ FLORMUK_R)XV=
•
**) +ORU`_ 5ZMMOQ_R bKQ 'O`U__OQ a &LMKQUZ[)XV=
•
*=) 5OQbKQXZ_PO 7_W 8KZW &ORMU_` /_MOQSUO^ FLORMUK_R)XV=
•
*>) 7QPTUMOPM /_MOQSUO^ FLORMUK_R)XV=
9-:4-;( $* $%3 @A:A P*&-3:4-; <%4.-