Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

title Java Knowledge Base
description Personal Java cheat sheet with summaries, syntax, and key concepts.
author cristianbyte
/* This is an example of multi-line comment. */
import java.util.Scanner;
// create an object of Scanner
Scanner input = new Scanner(System.in);
// take input from the user
int number = input.nextInt();
// closing the scanner object
input.close();

Ternary Operator in Java

condition ? expression1 : expression2; Note: It is not recommended to use nested ternary operators. This is because it makes our code more complex.

Examples:

flowchart LR
    subgraph Java Application
        A(JDBC API)
    end
    A --> B(JDBC Driver Manager) --> C(JDBC Driver) --> D[(MySQL)]
Loading

πŸ“Œ About Me - backend4ever 🀍

I focus on creating simple, clean, and understandable Java code that’s easy for everyone to work with.

Follow me on GitHub:@cristianbyte πŸš€

About

Personal Java cheat sheet with summaries, syntax, and key concepts.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages