Giter Site home page Giter Site logo

trainingbypackt / java-fundamentals Goto Github PK

View Code? Open in Web Editor NEW
9.0 7.0 11.0 650 KB

A fast-paced and pragmatic introduction to one of the world's most popular programming languages

License: MIT License

Java 100.00%
java exception-handling switch-case iterators collections-framework

java-fundamentals's Introduction

GitHub issues GitHub forks GitHub stars PRs Welcome

Java Fundamentals

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 learn

  • Create and run Java programs
  • Use data types, data structures, and control flow in your code
  • Implement best practices while creating objects
  • Work with constructors and inheritance
  • Understand advanced data structures to organize and store data
  • Employ generics for stronger check-types during compilation
  • Learn to handle exceptions in your code

Hardware requirements

For an optimal student experience, we recommend the following hardware configuration:

  • Processor: Intel Core i7 or equivalent
  • Memory: 8 GB RAM
  • Storage: 35 GB available space
  • An Internet connection

Software requirements

You’ll also need the following software installed in advance:

  • Operating System: Windows (8 or higher)
  • Operating system: Windows 7 or above
  • Java 8 JDK
  • IntelliJ IDEA

java-fundamentals's People

Contributors

chikega avatar rutuja027 avatar steffimonteiro avatar visola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-fundamentals's Issues

Lesson01/ Exercise04/ ProductsOfNos.java Exception

Using Java 8, the current code throws an exception:
Enter the first number Exception in thread "main" java.lang.NullPointerException at Main.main(Main.java:7)

The code is missing 'throws IOException', the same exception is thrown when added to code.

Using Java 17, the exception reads as follows:
Enter the first number: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.io.Console.readLine()" because the return value of "java.lang.System.console()" is null at Main.main(Main.java:11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.