Later chapters cover further Java programming concepts, such as abstract classes, packages, and exception handling. At each stage you’ll be challenged by the author to help you absorb the information and become a proficient Java programmer. Additionally, each chapter contains simple assignments to encourage you and boost your confidence level.
Author Alvin Alexander (creator of DevDaily.com) provides solutions based on his experience using Scala for highly scalable, component-based applications that support concurrency and distribution. Packed with real-world scenarios, this book provides recipes for:Strings, numeric types, and control structuresClasses, methods, objects, traits, and packagingFunctional programming in a variety of situationsCollections covering Scala's wealth of classes and methodsConcurrency, using the Akka Actors libraryUsing the Scala REPL and the Simple Build Tool (SBT)Web services on both the client and server sidesInteracting with SQL and NoSQL databasesBest practices in Scala development
Since its inception, Java has stormed the programming world. Its features and functionalities provide developers with the tools needed to write robust cross-platform applications. Java Fundamentals introduces you to these tools and functionalities that will enable you to create Java programs.
The book begins with an introduction to the language, its philosophy, and evolution over time, until the latest release. You'll learn how the javac/java tools work and what Java packages are - the way a Java program is usually organized. Once you are comfortable with this, you'll be introduced to advanced concepts of the language, such as control flow keywords. You'll explore object-oriented programming and the part it plays in making Java what it is. In the concluding chapters, you'll get to grips with classes, typecasting, and interfaces, and understand the use of data structures, arrays, strings, handling exceptions, and creating generics.
By the end of this book, you will have learned to write programs, automate tasks, and follow advanced courses on algorithms and data structures or explore more advanced Java courses.What you will learnCreate and run Java programsUse data types, data structures, and control flow in your codeImplement best practices while creating objectsWork with constructors and inheritanceUnderstand advanced data structures to organize and store dataEmploy generics for stronger check-types during compilationLearn to handle exceptions in your codeWho this book is for
Java Fundamentals is designed for tech enthusiasts who are familiar with some programming languages and want a quick introduction to the most important principles of Java.
Lambda expressions are a fairly simple change to Java, and the first part of the book shows you how to use them properly. Later chapters show you how lambda functions help you improve performance with parallelism, write simpler concurrent code, and model your domain more accurately, including building better DSLs.Use exercises in each chapter to help you master lambda expressions in Java 8 quicklyExplore streams, advanced collections, and other Java 8 library improvementsLeverage multicore CPUs and improve performance with data parallelismUse techniques to “lambdify” your existing codebase or library codeLearn practical solutions for lambda expression unit testing and debuggingImplement SOLID principles of object-oriented programming with lambdasWrite concurrent applications that efficiently perform message passing and non-blocking I/O
Salient FeaturesFully explaines the entire Java language.Discusses Java's unique features snduch as packages a interfaces.Shows how to create and implement applets.Illustrates the use of advanced concepts like multithread and graphics.Covers exception handling in depth.Debugging excercises and two full-fledged projects.Includes model questions from the Sun Certified JAVA Programmer Exam.
This book introduces the students to Windows programming and explains the building blocks for the implementation of computer graphics algorithms. It advances on to elaborate the two-dimensional geometric transformations and the design and implementation of the algorithms of line drawing, circle drawing, drawing curves, filling and clipping. In addition, this well-written text describes three-dimensional graphics and hidden surface removal algorithms and their implementations. Finally, the book discusses illumination and shading along with the Phong illumination model.
Key Features :
Includes fundamental theoretical concepts of computer graphics.
Contains C implementations of all basic computer graphics algorithms.
Teaches Windows programming and how graphics algorithms can be tailor-made for implementations in message-driven architecture.
Offers chapter-end exercises to help students test their understanding.
Gives a summary at the end of each chapter to help students overview the key points of the text.
Includes a companion CD containing C programs to demonstrate the implementation of graphics algorithms.