KotlinProgramming - (EPUB全文下载)
文件大小:3.19 mb。
文件格式:epub 格式。
书籍内容:
Kotlin Programming: The Big Nerd Ranch Guide
by Josh Skeen and David Greenhalgh
Copyright © 2018 Big Nerd Ranch, LLC
All rights reserved. Printed in the United States of America.
This publication is protected by copyright, and permission must be obtained
from the publisher prior to any prohibited reproduction, storage in a
retrieval system, or transmission in any form or by any means,
electronic, mechanical, photocopying, recording, or likewise.
For information regarding permissions, contact
Big Nerd Ranch, LLC
200 Arizona Ave NE
Atlanta, GA 30307
(770) 817-6373
http://www.bignerdranch.com/
book-comments@bignerdranch.com
The 10-gallon hat with propeller logo is a trademark of Big Nerd Ranch, LLC.
Exclusive worldwide distribution of the English edition of this book by
Pearson Technology Group
800 East 96th Street
Indianapolis, IN 46240 USA
http://www.informit.com
The authors and publisher have taken care in writing and printing this book
but make no expressed or implied warranty of any kind and assume no
responsibility for errors or omissions.
No liability is assumed for incidental or consequential damages
in connection with or arising out of the use of the information or
programs contained herein.
Many of the designations used by manufacturers and sellers to distinguish
their products are claimed as trademarks.
Where those designations appear in this book,
and the publisher was aware of a trademark claim,
the designations have been printed with initial capital letters
or in all capitals.
ISBN-10 013516236X
ISBN-13 978-0135162361
First edition, first printing, July 2018
Release E.1.1.1
Table of Contents
Introducing Kotlin
Why Kotlin?
Who Is This Book For?
How to Use This Book
For the More Curious
Challenges
Typographical conventions
Using an eBook
Looking Forward
1. Your First Kotlin Application
Installing IntelliJ IDEA
Your First Kotlin Project
Creating your first Kotlin file
Running your Kotlin file
The Kotlin REPL
For the More Curious: Why Use IntelliJ?
For the More Curious: Targeting the JVM
Challenge: REPL Arithmetic
2. Variables, Constants, and Types
Types
Declaring a Variable
Kotlin’s Built-In Types
Read-Only Variables
Type Inference
Compile-Time Constants
Inspecting Kotlin Bytecode
For the More Curious: Java Primitive Types in Kotlin
Challenge: hasSteed
Challenge: The Unicorn’s Horn
Ch ............
书籍插图:
以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。
书云 Open E-Library » KotlinProgramming - (EPUB全文下载)