- Saved searches
- Use saved searches to filter your results more quickly
- PushpenderIndia/Java-Cheat-Sheet
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- 20 Most Useful Java Cheat Sheets For Developers | 2023 Edition
- 20. Java Fundamentals Cheat Sheet
- 19. Java Midterm Cheat Sheet
- 18. Java EE Security Essentials
- 17. Java Quick Reference
- 16. APIs of Common Libraries
- 15. OverAPI Java
- 14. Using XML in Java
- 13. Java Collections Cheat Sheet
- 12. Java 8 Best Practices
- 11. Java For Dummies
- 10. Core Java Concurrency
- 9. Java Generics Cheat Sheet
- 8. Java Elements
- 7. Java Cheat Sheet for C++ Programmers
- 6. Java OOP Concept
- 5. Java 8+ Cheat Sheet
- 4. Java GUI Development
- 3. Java Vs. Python
- 2. Java Glossary
- 1. Core Java
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Java Cheat Sheet : Comprehensive Java Programming Guide With Mini Projects | Best for people, who are coming from other programming language or Just want a quick Refresh
PushpenderIndia/Java-Cheat-Sheet
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Comprehensive Java Programming Guide With Mini Projects | Best for people, who are coming from other programming language or Just want a quick Refresh
- HelloWorld Program
- Comments In Java
- Print Methods In Java
- Variables In Java
- DataTypes In Java
- Operators In Java
- Type Casting In Java
- Taking Input from User In Java
- Strings & Its Function In Java
- Math Class In Java
- Conditions In Java
- Loop In Java
- Arrays In Java
- Try-catch In Java
import java.util.Scanner; public class Main < public static void main(String[] args) < String choice = "yes"; while(choice == "yes") < System.out.println("\n\n[?] Enter 1st Number :"); Scanner scan = new Scanner(System.in); float num1 = scan.nextInt(); System.out.println("[?] Enter 2nd Number :"); float num2 = scan.nextInt(); System.out.println("[Choose From List] : \n\t(M)ultiply\n\t(D)ivide\n\t(S)um\n\t(Su)btract\n"); Scanner scan1 = new Scanner(System.in); String operator = scan1.nextLine(); operator = operator.toLowerCase(); switch(operator) < case "m": System.out.print("[+] Multiple of 1st & 2nd is "); System.out.print(num1 * num2); break; case "d": System.out.print("[+] Divide of 1st & 2nd is "); System.out.print(num1 / num2); break; case "s": System.out.print("[+] Sum of 1st & 2nd is "); System.out.print(num1 + num2); break; case "su": System.out.print("Subtract of 1st & 2nd is "); System.out.print(num1 - num2); break; default: System.out.println("Invalid Input !"); >// switch > // While Loop > // main() > // Main()
About
Java Cheat Sheet : Comprehensive Java Programming Guide With Mini Projects | Best for people, who are coming from other programming language or Just want a quick Refresh
20 Most Useful Java Cheat Sheets For Developers | 2023 Edition
First appeared in 1996, Java is one of the most popular programming languages for developing application software and deploying it in a cross-platform computing environment. It is widely used in smartphones, embedded devices, supercomputers and enterprise servers. Currently, Java is the third most popular language on Github, after JavaScript and Python.
We all know the importance of programming cheat sheets, especially for beginners. It helps you save a lot of time and accomplish a particular task. We have gathered some of the most useful and complete cheat sheet that will increase your productivity. Let’s begin.
20. Java Fundamentals Cheat Sheet
Format: PDF and OnlineWebpage
It’s a small and very basic cheat sheet for beginners, which includes Java data types, conversions, string methods, arithmetic operator, and text formatting details.
19. Java Midterm Cheat Sheet
Format: PDF and OnlineWebpage
This is a brief cheat sheet containing String methods, abstract classes, interface, array methods, vocabulary, loops, math method, escape sequence and much more.
18. Java EE Security Essentials
Format: PDF and OnlineWebpage
This is a detailed cheat sheet that explores web module security, authentication authorization, application client security and EJB module security with in-depth examples.
17. Java Quick Reference
Format: PDF
It’s basic cheat sheet for beginners to check out logical operators, flow control, array and class syntax, arithmetic operators, keywords and Java extension packages.
16. APIs of Common Libraries
Format: OnlineWebpage
This cheat sheet summarizes the most commonly used Java language features, including, math library, Java library cells, type conversion, anatomy of while-loop, break statements, arrays, command line, graphs, redirection and piping.
15. OverAPI Java
Format: OnlineWebpage
OverAPI contains almost all basic and commonly used elements of data structure, string, object oriented topic, and classes. Clicking on each element would take you to the new webpage that provides the description of the element (that you’ve clicked) along with examples.
14. Using XML in Java
Format: PDF and OnlineWebpage
Since Java is a diverse platform, it has numerous solutions for working with XML. This detailed guide offers an overview of different XML processing technologies in Java, along with a use case of each technology.
13. Java Collections Cheat Sheet
Format: PDF
All Java programs have one thing in common – they all use Java collections. This brief cheat sheet will help you know about the collections framework, correct use cases, implementation details and how to choose the appropriate collection type.
12. Java 8 Best Practices
Format: PDF and OnlineWebpage
This cheat sheet (created by Rebellabs) uncovers the hot topics of the Java 8 – default methods, lambdas, streams and using optional to represent absent values.
11. Java For Dummies
Format: OnlineWebpage
You can divide your Java program into several categories. This cheat sheet would tell you about all those categories. It includes keywords, literals and identifiers in the Java API.
10. Core Java Concurrency
Format: PDF and OnlineWebpage
It’s a long cheat sheet that helps programmers working with multi-threaded code understand the concepts of core concurrency and how to apply them. It covers inbuilt Java features such as thread, concurrent collections, Locks, thread coordination abstraction and executors.
9. Java Generics Cheat Sheet
Format: PDF
Java Generic cheat sheet provides an overview Generic basics, wildcards, intersection types, method overloading, recursive generics and covariance.
8. Java Elements
Format: JPG and OnlineWebpage
Keep this cheat sheet for a quick reference while learning Java. It contains the basic code structure, data types, functions and inputs and outputs.
7. Java Cheat Sheet for C++ Programmers
Format: PDF and OnlineWebpage
As the name suggests, the cheat sheet is for those who regularly code in C++ language and all of the sudden have switched to Java. It explains the concept of Java by comparing it with the concepts of C++. Moreover, it also shows what Java has that C++ don’t and vice versa.
6. Java OOP Concept
Format: PDF and OnlineWebpage
The cheat sheet contains all elements that will strengthen your understanding on Java object oriented programming paradigm. It contains the basic components, including inheritance, override, encapsulation, HashMap, HashList, interface, attribute and access modifier, and constructor.
5. Java 8+ Cheat Sheet
Format: OnlineWebpage
This cheat sheet is based on Cay Horstmann’s lecture (who has written more than dozen of programming books for students and professionals). It is published on Github and includes lambda expression, collections, streams and optional information.
4. Java GUI Development
Format: PDF and OnlineWebpage
To build standalone Java applications, one can use either SWT (Standard Widget Toolkit) or Java Swing. Both methods share some commonality, but each has its own benefits. This reference guide will help you get started with either.
3. Java Vs. Python
Format: JPG and OnlineWebpage
We all have seen big debates between static and dynamic typing among many programming languages. Well, this infographics is nowhere similar to any kind of debate, but it compares the two world’s most popular languages.
2. Java Glossary
Format: OnlineWebpage
This is a quick summary of the Java language syntax. It only contains the elements that you may be likely to forget, including control structure, literals, links, primitives, immutables, Javadoc, and more.
1. Core Java
Format: PDF and OnlineWebpage
The cheat sheet gives you an overview of key aspects of the Java language and references on the core library, most commonly used tools and new Java 8 features.
Varun Kumar
Varun Kumar is a professional technology and business research analyst with over 10 years of experience. He primarily focuses on software technologies, business strategies, competitive analysis, and market trends.
Varun received a Master’s degree in computer science from GGSIPU University. To find out about his latest projects, feel free to email him at [email protected].