Beginning Java 8 Fundamentals [electronic resource] : Language Syntax, Arrays, Data Types, Objects, and Regular Expressions /
Sharan, Kishori.author.
Beginning Java 8 Fundamentals provides a comprehensive approach to learning the Java programming language, especially the object-oriented fundamentals necessary at all levels of Java development. Author Kishori Sharan provides over 90 diagrams and 240 complete programs to help beginners and intermediate level programmers learn the topics faster. Starting with basic programming concepts, the author walks you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. The book continues with a series of foundation topics, including using data types, working with operators, and writing statements in Java. These basics lead onto the heart of the Java language: object-oriented programming. By learning topics such as classes, objects, interfaces, and inheritance you'll have a good understanding of Java's object-oriented model. The final collection of topics takes what you've learned and turns you into a real Java programmer. You'll see how to take the power of object-oriented programming and write programs that can handle errors and exceptions, process strings and dates, format data, and work with arrays to manipulate data.
Contents at a Glance; Introduction; Chapter 1: Programming Concepts; What Is Programming?; Components of a Programming Language; Programming Paradigms; Imperative Paradigm; Procedural Paradigm; Declarative Paradigm; Functional Paradigm; Logic Paradigm; Object-Oriented Paradigm; What Is Java?; The Object-Oriented Paradigm and Java; Abstraction; Abstraction for Hiding Complexities; Procedural Abstraction; Data Abstraction; Encapsulation and Information Hiding; Inheritance; Polymorphism; Overloading Polymorphism; Coercion Polymorphism; Inclusion Polymorphism; Parametric Polymorphism; Summary
Chapter 2: Writing Java ProgramsWhat is a Java Program?; System Requirements; Writing the Source Code; Package Declaration; Import Declarations; Class Declaration; Compiling the Source Code; Running the Compiled Code; Using NetBeans IDE; Creating a Java Project; Adding Classes to the Project; Customizing Project Properties; Opening an Existing NetBeans Project; Behind the Scenes; Summary; Chapter 3: Data Types; What Is a Data Type?; What Is an Identifier ?; Data Types in Java; Primitive Data Types in Java; Integral Data Types; The int Data Type; The long Data Type; The byte Data Type
The short Data TypeThe char Data Type; The boolean Data Type; Floating-Point Data Types; The float Data Type; The double Data Type; Underscores in Numeric Literals; Java Compiler and Unicode Escape Sequence; A Short Break; Binary Representation of Integers; Diminished Radix Complement; Radix Complement; Binary Representation of Floating-Point Numbers; 32-bit Single-Precision Floating-Point Format; Sign; Exponent; Significand; Special Floating-Point Numbers; Signed Zeros; Signed Infinities; NaN; Denormals; Rounding Modes; Rounding Toward Zero; Rounding Toward Positive Infinity
Rounding Toward Negative InfinityRounding Toward Nearest; IEEE Floating-Point Exceptions; Division by Zero Exception; Invalid Operation Exception; Overflow Exception; Underflow Exception; Inexact Exception; Java and IEEE Floating-Point Standards; Little-Endian and Big-Endian; Summary; Chapter 4: Operators; What Is an Operator?; Assignment Operator (=); Declaration, Initialization, and Assignment; Arithmetic Operators; Addition Operator (+); Subtraction Operator (-); Multiplication Operator (*); Division Operator (/); Modulus Operator (%); Unary Plus Operator (+); Unary Minus Operator (-)
Compound Arithmetic Assignment OperatorsIncrement (++) and Decrement (--) Operators; String Concatenation Operator (+); Relational Operators; Equality Operator (==); Inequality Operator (!=); Greater Than Operator (>); Greater Than or Equal to Operator (>=); Less Than Operator (Operator Precedence
Includes index.
Beginning Java 8 Fundamentals provides a comprehensive approach to learning the Java programming language, especially the object-oriented fundamentals necessary at all levels of Java development. Author Kishori Sharan provides over 90 diagrams and 240 complete programs to help beginners and intermediate level programmers learn the topics faster. Starting with basic programming concepts, the author walks you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. The book continues with a series of foundation topics, including using data types, working with operators, and writing statements in Java. These basics lead onto the heart of the Java language: object-oriented programming. By learning topics such as classes, objects, interfaces, and inheritance you'll have a good understanding of Java's object-oriented model. The final collection of topics takes what you've learned and turns you into a real Java programmer. You'll see how to take the power of object-oriented programming and write programs that can handle errors and exceptions, process strings and dates, format data, and work with arrays to manipulate data.
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.