Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shreya-sagar/java-workbook
Repository to practice Java
https://github.com/shreya-sagar/java-workbook
Last synced: about 3 hours ago
JSON representation
Repository to practice Java
- Host: GitHub
- URL: https://github.com/shreya-sagar/java-workbook
- Owner: shreya-sagar
- License: mit
- Created: 2024-09-27T09:11:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T17:24:24.000Z (4 months ago)
- Last Synced: 2024-11-08T02:42:15.919Z (3 months ago)
- Language: Java
- Size: 2.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-workbook
Repository to practice Java# Resources
- Core Java 11 Fundamentals, Second Edition : https://learning.oreilly.com/course/core-java-11/9780135160053/
- Core Java 11 Fundamentals, Second Edition PPT & Code : https://horstmann.com/corejava/livelessons/#(1) https://horstmann.com/corejava/livelessons2/index.html#(1)
- Core Java for the Impatient, 3rd Edition : https://learning.oreilly.com/library/view/core-java-for/9780138051846/# Key Points
## Fundamental Programming Structures* In Java, all methods are declared in a class. You invoke a non-static method on an object of the class to which the method belongs.
* Static methods are not invoked on objects. Program execution starts with the static `main` method.
* Java has eight primitive types: four signed integral types, two floating-point types, `char`, and `boolean`.
* The Java operators and control structures are very similar to those of C or JavaScript.
* There are four forms of `switch`: expressions and statements with and without fall-through.
* The `Math` class provides common mathematical functions.
* `String` objects are sequences of characters or, more precisely, Unicode code points in the UTF-16 encoding.
* Use the **“text box”** syntax to declare multiline string literals.
* With the `System.out` object, you can display output in a terminal window. A `Scanner` tied to `System.in` lets you read terminal input.
* Arrays and collections can be used to collect elements of the same type.