最新章節(jié)
- Summary
- Modifying XML data
- Java code to write XML data
- Writing XML data
- Printing Jane's car details
- Accessing Jane's XML element
品牌:中圖公司
上架時(shí)間:2021-07-02 12:42:41
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Summary 更新時(shí)間:2021-07-02 15:23:14
- Modifying XML data
- Java code to write XML data
- Writing XML data
- Printing Jane's car details
- Accessing Jane's XML element
- Parsing XML data
- Reading XML data
- XML
- Summary
- Adding functionality to our button
- Adding a button
- Event handling
- How palette works
- A visual GUI editor tool – palette
- The SwingUtilities class
- Closing our application
- Adding a label
- Setting the size of our window
- The JFrame class
- Swing GUIs
- Basic GUI Development
- Summary
- Deserializing an object
- Serializing an object
- The Serializable class
- The FileReader and BufferedReader class
- Reading data from files
- The BufferedWriter class
- Relieving resources using the close() method
- The FileWriter class
- Writing data to files
- File Input and Output
- Summary
- Primitive classes
- Other Object methods
- Overriding the equals() method
- The Object class
- The finally block
- The try and catch blocks
- Handling exceptions
- Analyzing the console exception messages
- Exceptions
- The format() function
- The replace() function
- String functions
- String literals versus String objects
- String functionality
- How Calendar works
- Fetching the current day month and year
- Subclasses of Calendar
- The Calendar class
- Useful Java Classes
- Summary
- Abstract
- The protected method
- The abstract method
- Data structure
- Overriding
- The is-a relationship
- Creating a superclass
- Inheritance
- More Object-Oriented Java
- Summary
- Types of constructors
- Creating constructors
- Creating member functions
- Creating member variables
- Creating custom classes
- Creating classes and objects
- Modeling with Object-Oriented Java
- Summary
- Understanding passing parameters
- Using variables in the program
- Operating java variables
- Advanced Java functions
- Final touch to the program
- Executing the second part of the program
- Executing the first part of the program
- Fahrenheit type
- Kelvin type
- Celsius type
- Exploring separate cases - C K and F
- Setting up the control flow
- Temperature conversion program
- Methods
- The basics of Java functions
- Functions
- Summary
- Fetching information from our Map
- Assigning values to our Map
- Creating a Map
- Maps
- Analyzing ArrayIndexOutOfBoundsException
- Giving control to the user
- Printing the ArrayList of user input
- Getting user input
- Creating an ArrayList
- An ArrayList example in NetBeans
- ArrayLists
- Printing the chessboard
- Assigning different colors to our chessboard
- Using nested loops for multidimensional arrays
- Creating a multidimensional array
- A multidimensional array example in NetBeans
- Multidimensional arrays
- Default initialization of arrays in Java
- Printing the alphabet
- Creating a for loop
- Creating an array
- Array example in NetBeans
- Assigning values to an array
- Declaring and initializing an array
- Working with arrays
- Data Structures
- Summary
- For loops
- The do...while loops
- While loops
- While and do...while loops
- Program using switch case and break
- Switch case and break
- The boolean variable
- Complex conditional statements
- The contains function
- Complex conditionals
- Using else statements
- Using if statements
- Conditional statements
- Understanding if statements
- Branching
- Summary
- Escape sequences
- The replace() function
- The toUpperCase() function
- The concatenation operator
- Strings
- Char variables
- Importing class libraries
- Using the pow() function
- The Math class library
- The double data type
- Type casting
- Behavior difference between integer and float data types
- Floating point variables
- Memory allocation for integer variables
- The solution of variables
- Integer variables
- Understanding Typed Variables
- Summary
- The code completion feature
- How to interpret errors detected by NetBeans?
- Executing our program
- Java syntax
- Printing a string
- The main() function
- Java comments
- Writing the code
- Creating a Java class
- Creating a new project
- Writing our first Java program
- Installing the NetBeans IDE
- Installing JDK
- Setting up your development environment
- Java applications
- Features of Java
- What is Java?
- Getting Started with Java
- Questions
- Piracy
- Errata
- Downloading the color images of this book
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Author
- Credits
- Java Programming for Beginners
- Copyright
- Title Page
- coverpage
- coverpage
- Title Page
- Copyright
- Java Programming for Beginners
- Credits
- About the Author
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Downloading the color images of this book
- Errata
- Piracy
- Questions
- 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
- 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
- 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
- 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
- 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
- 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
- Modeling with Object-Oriented Java
- Creating classes and objects
- Creating custom classes
- Creating member variables
- Creating member functions
- Creating constructors
- Types of constructors
- Summary
- More Object-Oriented Java
- Inheritance
- Creating a superclass
- The is-a relationship
- Overriding
- Data structure
- The abstract method
- The protected method
- Abstract
- Summary
- 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
- Primitive classes
- Summary
- 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
- 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
- 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 更新時(shí)間:2021-07-02 15:23:14