دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نویسی: زبان های برنامه نویسی ویرایش: 5 نویسندگان: Doug Lowe سری: ISBN (شابک) : 9781119247791 ناشر: Wiley سال نشر: 2017 تعداد صفحات: 930 زبان: English فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 6 مگابایت
در صورت تبدیل فایل کتاب Java All-in-One for Dummies به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب جاوا همه در یک برای Dummies نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
راهنمای یک مرحله ای شما برای برنامه نویسی با جاوا اگر همیشه می خواستید با جاوا برنامه نویسی کنید اما نمی دانستید از کجا شروع کنید، این مرجع آغشته به جاوا خواهد بود که بارها و بارها به آن مراجعه خواهید کرد. بهطور کامل برای JDK 9 بهروزرسانی شده، این مرجع عمیق در محبوبترین زبان برنامهنویسی جهان، نقطه شروعی عالی برای ساختن چیزهایی با جاوا است – و یک مرجع ارزشمند در حال انجام که همچنان به تعمیق دانش خود ادامه میدهید. Java All-in-One For Dummies با بیش از 900 صفحه، ترس از یادگیری جاوا را از بین می برد و راهنمایی گام به گام و واضح در مورد نحوه دانلود و نصب ابزارهای جاوا ارائه می دهد. کار با متغیرها، اعداد، عبارات، عبارات، حلقه ها، متدها و استثناها. ایجاد اپلت ها، سرولت ها و صفحات جاوا سرور. مدیریت و سازماندهی داده ها؛ و خیلی بیشتر. بر روی اطلاعات حیاتی تمرکز می کند که به شما امکان می دهد به سرعت با جاوا راه اندازی و اجرا کنید جزئیات ویژگی های جدید JDK 9 را به شما نشان می دهد که چگونه برنامه های Swing ساده ایجاد کنید شامل نکات طراحی در مورد چیدمان، دکمه ها و برچسب ها همه چیزهایی که برای برنامه ریزی باید بدانید با جاوا در این راهنمای کاربردی و آسان برای استفاده گنجانده شده است!
Your one-stop guide to programming with Java If you've always wanted to program with Java but didn't know where to start, this will be the java-stained reference you'll turn to again and again. Fully updated for the JDK 9, this deep reference on the world's most popular programming language is the perfect starting point for building things with Java—and an invaluable ongoing reference as you continue to deepen your knowledge. Clocking in at over 900 pages, Java All-in-One For Dummies takes the intimidation out of learning Java and offers clear, step-by-step guidance on how to download and install Java tools; work with variables, numbers, expressions, statements, loops, methods, and exceptions; create applets, servlets, and JavaServer pages; handle and organize data; and so much more. Focuses on the vital information that enables you to get up and running quickly with Java Provides details on the new features of JDK 9 Shows you how to create simple Swing programs Includes design tips on layout, buttons, and labels Everything you need to know to program with Java is included in this practical, easy-to-use guide!
Introduction 1About This Book 2Foolish Assumptions 2Icons Used in This Book 3Beyond the Book 4Where to Go from Here 4Book 1: Java Basics 5Chapter 1: Welcome to Java 7What Is Java, and Why Is It So Great? 8Java versus Other Languages 12Important Features of the Java Language 13On the Downside: Java's Weaknesses 16Java Version Insanity 17What's in a Name? 19Chapter 2: Installing and Using Java Tools 21Downloading and Installing the Java Development Kit 22Using Java's Command-Line Tools 26Using Java Documentation 32Chapter 3: Working with TextPad 35Downloading and Installing TextPad 35Editing Source Files 36Compiling a Program 39Running a Java Program 40Book 2: Programming Basics 43Chapter 1: Java Programming Basics 45Looking at the Infamous Hello, World! Program 46Dealing with Keywords 49Working with Statements 51Working with Blocks 53Creating Identifiers 55Crafting Comments 55Introducing Object-Oriented Programming 57Importing Java API Classes 63Chapter 2: Working with Variables and Data Types 65Declaring Variables 66Initializing Variables 70Using Final Variables (Constants) 72Working with Primitive Data Types 73Working with Strings 82Converting and Casting Numeric Data 85Thinking Inside the Box 87Understanding Scope 87Shadowing Variables 89Printing Data with System.out 90Getting Input with the Scanner Class 92Getting Input with the JOptionPane Class 96Using enum to Create Your Own Data Types 97Chapter 3: Working with Numbers and Expressions 99Working with Arithmetic Operators 99Dividing Integers 102Combining Operators 104Using the Unary Plus and Minus Operators 105Using Increment and Decrement Operators 106Using the Assignment Operator 108Using Compound Assignment Operators 110Using the Math Class 111Formatting Numbers 121Recognizing Weird Things about Java Math 124Chapter 4: Making Choices 129Using Simple Boolean Expressions 130Using if Statements 132Using Mr Spock's Favorite Operators (Logical Ones, of Course) 141Using the Conditional Operator 148Comparing Strings 149Chapter 5: Going Around in Circles (Or, Using Loops) 151Using Your Basic while Loop 152Breaking Out of a Loop 154Looping Forever 154Using the continue Statement 157Running do-while Loops 159Validating Input from the User 161Using the Famous for Loop 163Nesting Your Loops 173Chapter 6: Pulling a Switcheroo 179Battling else-if Monstrosities 179Using the switch Statement 183Creating Character Cases 186Intentionally Leaving Out a Break Statement 188Switching with Strings 191Chapter 7: Adding Some Methods to Your Madness 193The Joy of Methods 194The Basics of Making Methods 195Methods That Return Values 199Methods That Take Parameters 206Chapter 8: Handling Exceptions 213Understanding Exceptions 214Catching Exceptions 216Handling Exceptions with a Preemptive Strike 220Catching All Exceptions at Once 221Displaying the Exception Message 223Using a finally Block 223Handling Checked Exceptions 226Throwing Your Own Exceptions 231Catching Multiple Exceptions 232Book 3: Object-Oriented Programming 233Chapter 1: Understanding Object-Oriented Programming 235What Is Object-Oriented Programming? 235Understanding Objects 237Understanding the Life Cycle of an Object 240Working with Related Classes 241Designing a Program with Objects 243Diagramming Classes with UML 244Chapter 2: Making Your Own Classes 249Declaring a Class 249Working with Members 253Using Getters and Setters 255Overloading Methods 257Creating Constructors 259Finding More Uses for the this Keyword 263Using Initializers 265Chapter 3: Working with Statics 267Understanding Static Fields and Methods 267Working with Static Fields 269Using Static Methods 269Counting Instances 270Preventing Instances 273Using Static Initializers 274Chapter 4: Using Subclasses and Inheritance 277Introducing Inheritance 277Creating Subclasses 281Overriding Methods 283Protecting Your Members 284Using this and super in Your Subclasses 284Understanding Inheritance and Constructors 286Using final 287Casting Up and Down 289Determining an Object's Type 290Poly What? 292Creating Custom Exceptions 294Chapter 5: Using Abstract Classes and Interfaces 299Using Abstract Classes 299Using Interfaces 302More Things You Can Do with Interfaces 306Using Default Methods 311Chapter 6: Using the Object and Class Classes 315The Mother of All Classes: Object 316The toString Method 319The equals Method 322The clone Method 328The Class Class 338Chapter 7: Using Inner Classes, Anonymous Classes, and Lambda Expressions 341Declaring Inner Classes 342Using Static Inner Classes 345Using Anonymous Inner Classes 347Using Lambda Expressions 351Chapter 8: Working with Packages and the New Java Module System 353Working with Packages 354Putting Your Classes in a JAR File 358Using JavaDoc to Document Your Classes 363Using the Java Module System 368Book 4: Strings, Arrays, and Collections 373Chapter 1: Working with Strings 375Reviewing Strings 376Using the String Class 378Using the StringBuilder and StringBuffer Classes 387Using the CharSequence Interface 391Chapter 2: Using Arrays 393Understanding Arrays 393Creating Arrays 394Initializing an Array 395Using for Loops with Arrays 396Solving Homework Problems with Arrays 397Using the Enhanced for Loop 400Using Arrays with Methods 401Using Two-Dimensional Arrays 401Working with a Fun but Complicated Example: A Chessboard 408Using the Arrays Class 416Chapter 3: Using the ArrayList Class 423Understanding the ArrayList Class 424Creating an ArrayList Object 427Adding Elements 428Accessing Elements 429Printing an ArrayList 430Using an Iterator 430Updating Elements 432Deleting Elements 434Chapter 4: Using the LinkedList Class 437Understanding the LinkedList Class 438Creating a LinkedList 442Adding Items to a LinkedList 443Retrieving Items from a LinkedList 445Updating LinkedList Items 446Removing LinkedList Items 447Chapter 5: Creating Generic Collection Classes 449Why Generics? 450Creating a Generic Class 451A Generic Stack Class 453Using Wildcard-Type Parameters 457A Generic Queue Class 458Using the Diamond Operator 462Chapter 6: Using Bulk Data Operations with Collections 463Looking At a Basic Bulk Data Operation 464Looking Closer at the Stream Interface 467Using Parallel Streams 470Book 5: Programming Techniques 473Chapter 1: Programming Threads 475Understanding Threads 476Creating a Thread 477Implementing the Runnable Interface 480Creating Threads That Work Together 485Using an Executor 489Synchronizing Methods 491Creating a Lock 496Coping with Threadus Interruptus 497Chapter 2: Using Regular Expressions 505Creating a Program for Experimenting with Regular Expressions 506Performing Basic Character Matching 509Using Regular Expressions in Java Programs 519Chapter 3: Using Recursion 523Calculating the Classic Factorial Example 523Displaying Directories 526Writing Your Own Sorting Routine 530Chapter 4: Working with Dates and Times 539Pondering How Time is Represented 540Picking the Right Date and Time Class for Your Application 541Using the now Method to Create a Date-Time Object 542Using the parse Method to Create a Date-Time Object 544Using the of Method to Create a Date-Time Object 545Looking Closer at the LocalDate Class 548Extracting Information About a Date 550Comparing Dates 551Calculating with Dates 552Formatting Dates 554Looking at a Fun Birthday Calculator 556Book 6: JavaFX 561Chapter 1: Hello, JavaFX! 563Perusing the Possibilities of JavaFX 564Looking at a Simple JavaFX Program 566Importing JavaFX Packages 567Extending the Application Class 568Launching the Application 569Overriding the start Method 570Creating a Button 572Handling an Action Event 573Creating a Layout Pane 574Making a Scene 576Setting the Stage 576Examining the Click Counter Program 577Chapter 2: Handling Events 583Examining Events 584Handling Events 585Implementing the EventHandler Interface 587Handling Events with Inner Classes 591Handling Events with Anonymous Inner Classes 593Using Lambda Expressions to Handle Events 596Chapter 3: Setting the Stage and Scene Layout 603Examining the Stage Class 604Examining the Scene Class 607Switching Scenes 609Creating an Alert Box 613Exit, Stage Right 618Chapter 4: Using Layout Panes to Arrange Your Scenes 625Working with Layout Panes 626Using the HBox Layout 628Spacing Things Out 630Adding Space with Margins 632Adding Space by Growing Nodes 633Using the VBox Layout 635Aligning Nodes in a Layout Pane 637Making Nodes the Same Width 638Using the Flow Layout 639Using the Border Layout 643Using the GridPane Layout 645Chapter 5: Getting Input from the User 659Using Text Fields 660Validating Numeric Data 667Using Check Boxes 668Using Radio Buttons 671Looking at a Pizza Order Application 673Chapter 6: Choosing from a List 681Using Choice Boxes 681Working with Observable Lists 685Listening for Selection Changes 688Using Combo Boxes 690Using List Views 694Using Tree Views 696Book 7: Web Programming 707Chapter 1: Using Java Web Start 709Looking at a Simple JavaFX Program 709Understanding Java Web Start 712Creating a JNLP File 713Creating an HTML File to Launch a Java Application 715Uploading the Java Web Start Files to Your Web Server 716Launching the ClickMe Application Using Java Web Start 717Creating an Exception to Allow Java Web Start Applications to Run 718Chapter 2: Creating Servlets 721Understanding Servlets 721Using Tomcat 723Creating a Simple Servlet 726Running a Servlet 730Improving the HelloWorld Servlet 730Getting Input from the User 732Using Classes in a Servlet 735Chapter 3: Using JavaServer Pages 741Understanding JavaServer Pages 742Using Page Directives 743Using Expressions 744Using Scriptlets 746Using Declarations 749Using Classes 751Chapter 4: Using JavaBeans 757Getting to Know JavaBeans 757Looking Over a Sample Bean 759Using Beans with JSP Pages 761Scoping Your Beans 767Book 8: Files and Databases 775Chapter 1: Working with Files 777Using the File Class 777Using Command-Line Parameters 784Choosing Files in a Swing Application 785Using Path Objects 792Using a File Visitor to Walk a File Tree 795Chapter 2: Working with File Streams 799Understanding Streams 800Reading Character Streams 801Writing Character Streams 807Reading Binary Streams 813Writing Binary Streams 820Chapter 3: Database for $100, Please 827Defining a Relational Database 828Understanding (and Pronouncing) SQL 828Introducing SQL Statements 829Creating a SQL Database 829Querying a Database 832Updating and Deleting Rows 839Chapter 4: Using JDBC to Connect to a Database 845Setting Up a Driver 845Connecting to a Database 846Querying a Database 848Updating SQL Data 855Using an Updatable RowSet Object 856Chapter 5: Working with XML 861Defining XML 861Using a DTD 865Processing XML in Two Ways: DOM and SAX 868Reading a DOM Document 869Reading DOM Nodes 872Putting It All Together: A Program That Lists Movies 877Index 881