Java programming for beginners learn the fundamentals of programming with Java

What You Will Learn Learn the core Java language for both Java 8 and Java 9 Set up your Java programming environment in the most efficient way Get to know the basic syntax of Java Understand object-oriented programming and the benefits that it can bring Familiarize yourself with the workings of some...

Full description

Bibliographic Details
Main Author: Lassoff, Mark
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing 2017
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 08518nmm a2200421 u 4500
001 EB001928350
003 EBX01000000000000001091252
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781788299046 
050 4 |a QA76.73.J38 
100 1 |a Lassoff, Mark 
245 0 0 |a Java programming for beginners  |b learn the fundamentals of programming with Java  |c Mark Lassoff 
246 3 1 |a Learn the fundamentals of programming with Java 
260 |a Birmingham, UK  |b Packt Publishing  |c 2017 
300 |a 1 volume  |b illustrations 
505 0 |a Primitive classes -- Summary -- Chapter 9: File Input and Output -- Writing data to files -- The FileWriter class -- Relieving resources using the close() method -- The BufferedWriter class -- Reading data from files -- The FileReader and BufferedReader class -- The Serializable class -- Serializing an object -- Deserializing an object -- Summary -- Chapter 10: Basic GUI Development -- Swing GUIs -- The JFrame class -- Setting the size of our window -- Adding a label -- Closing our application -- The SwingUtilities class -- A visual GUI editor tool -- palette -- How palette works -- Event handling -- Adding a button -- Adding functionality to our button -- Summary -- Chapter 11: XML -- Reading XML data -- Parsing XML data -- Accessing Jane's XML element -- Printing Jane's car details -- Writing XML data -- Java code to write XML data -- Modifying XML data -- Summary -- Index 
505 0 |a Cover -- Title Page -- Copyright -- Credits -- About the Author -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Getting Started with Java -- What is Java? -- Features of Java -- Java applications -- Setting up your development environment -- Installing JDK -- Installing the NetBeans IDE -- Writing our first Java program -- Creating a new project -- Creating a Java class -- Writing the code -- Java comments -- The main() function -- Printing a string -- Java syntax -- Executing our program -- How to interpret errors detected by NetBeans? -- The code completion feature -- Summary -- Chapter 2: Understanding Typed Variables -- Integer variables -- The solution of variables -- Memory allocation for integer variables -- Floating point variables -- Behavior difference between integer and float data types -- Type casting -- The double data type -- The Math class library -- Using the pow() function -- Importing class libraries -- Char variables -- Strings -- The concatenation operator -- The toUpperCase() function -- The replace() function -- Escape sequences -- Summary -- Chapter 3: Branching -- Understanding if statements -- Conditional statements -- Using if statements -- Using else statements -- Complex conditionals -- The contains function -- Complex conditional statements -- The boolean variable -- Switch, case, and break -- Program using switch, case, and break -- While and do...while loops -- While loops -- The do...while loops -- For loops -- Summary -- Chapter 4: Data Structures -- Working with arrays -- Declaring and initializing an array -- Assigning values to an array -- Array example in NetBeans -- Creating an array -- Creating a for loop -- Printing the alphabet -- Default initialization of arrays in Java -- Multidimensional arrays -- A multidimensional array example in NetBeans 
505 0 |a Creating a multidimensional array -- Using nested loops for multidimensional arrays -- Assigning different colors to our chessboard -- Printing the chessboard -- ArrayLists -- An ArrayList example in NetBeans -- Creating an ArrayList -- Getting user input -- Printing the ArrayList of user input -- Giving control to the user -- Analyzing ArrayIndexOutOfBoundsException -- Maps -- Creating a Map -- Assigning values to our Map -- Fetching information from our Map -- Summary -- Chapter 5: Functions -- The basics of Java functions -- Methods -- Temperature conversion program -- Setting up the control flow -- Exploring separate cases -- C, K, and F -- Celsius type -- Kelvin type -- Fahrenheit type -- Executing the first part of the program -- Executing the second part of the program -- Final touch to the program -- Advanced Java functions -- Operating java variables -- Using variables in the program -- Understanding passing parameters -- Summary -- Chapter 6: Modeling with Object-Oriented Java -- Creating classes and objects -- Creating custom classes -- Creating member variables -- Creating member functions -- Creating constructors -- Types of constructors -- Summary -- Chapter 7: More Object-Oriented Java -- Inheritance -- Creating a superclass -- The is-a relationship -- Overriding -- Data structure -- The abstract method -- The protected method -- Abstract -- Summary -- Chapter 8: Useful Java Classes -- The Calendar class -- Subclasses of Calendar -- Fetching the current day, month, and year -- How Calendar works -- String functionality -- String literals versus String objects -- String functions -- The replace() function -- The format() function -- Exceptions -- Analyzing the console exception messages -- Handling exceptions -- The try and catch blocks -- The finally block -- The Object class -- Overriding the equals() method -- Other Object methods 
653 |a COMPUTERS / Programming / Object Oriented / bisacsh 
653 |a COMPUTERS / Programming Languages / Java / bisacsh 
653 |a Java (Computer program language) / fast 
653 |a Java (Computer program language) / http://id.loc.gov/authorities/subjects/sh95008574 
653 |a COMPUTERS / Software Development & Engineering / General / bisacsh 
653 |a Java (Langage de programmation) 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
015 |a GBB805442 
776 |z 9781788296298 
776 |z 1788299043 
776 |z 9781788299046 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781788296298/?ar  |x Verlag  |3 Volltext 
082 0 |a 620 
082 0 |a 005.133 
520 |a What You Will Learn Learn the core Java language for both Java 8 and Java 9 Set up your Java programming environment in the most efficient way Get to know the basic syntax of Java Understand object-oriented programming and the benefits that it can bring Familiarize yourself with the workings of some of Java's core classes Design and develop a basic GUI Use industry-standard XML for passing data between applications In Detail Java is an object-oriented programming language, and is one of the most widely accepted languages because of its design and programming features, particularly in its promise that you can write a program once and run it anywhere. Java Programming for Beginners is an excellent introduction to the world of Java programming, taking you through the basics of Java syntax and the complexities of object-oriented programming.  
520 |a You'll gain a full understanding of Java SE programming and will be able to write Java programs with graphical user interfaces that run on PC, Mac, or Linux machines. This book is full of informative and entertaining content, challenging exercises, and dozens of code examples you can run and learn from. By reading this book, you'll move from understanding the data types in Java, through loops and conditionals, and on to functions, classes, and file handling. The book finishes with a look at GUI development and training on how to work with XML. The book takes an efficient route through the Java landscape, covering all of the core topics that a Java developer needs. Whether you're an absolute beginner to programming, or a seasoned programmer approaching an object-oriented language for the first time, Java Programming for Beginners delivers the focused training you need to become a Java developer. Style and approach This book takes a very hands-on approach, carefully building ... 
520 |a Java Programming for Beginners is an introduction to Java programming, taking you through the Java syntax and the fundamentals of object-oriented programming. About This Book Learn the basics of Java programming in a step-by-step manner Simple, yet thorough steps that beginners can follow Teaches you transferable skills, such as flow control and object-oriented programming Who This Book Is For This book is for anyone wanting to start learning the Java language, whether you're a student, casual learner, or existing programmer looking to add a new language to your skillset. No previous experience of Java or programming in general is required.