GitHub Wiki - Yash-777/LearnJava GitHub Wiki
Images [๐ช ๐งฌ ๐ข ]
โ Yes, ๐ก Idea, ๐ search ๐ Summary ๐งช Sample ๐ Key, ๐ Author/Secure ๐ฆ Package, ๐งพ Full JavaDoc, โ๏ธ Setting / .java file, ๐ Refactored
Single line code
Code | Information |
---|---|
String s = "Yash"; |
String literal |
๐ก A blank/empty line that contains only whitespace (such as tabs or spaces) inside a <pre>
block can cause formatting or rendering issues, like:
- Collapsed formatting
- Misaligned indentation
- Extra spacing or unexpected behavior in GitHub Wiki
Header 1 | Header 2 |
---|---|
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
|
public class Calculator {
public int add(int a, int b) {
return a + b;
}
}
|
Stream | Stream in Detail oracle article |
List transactionsIds =
transactions.stream()
.filter(t -> t.getType() == Transaction.GROCERY)
.sorted(comparing(Transaction::getValue).reversed())
.map(Transaction::getId)
.collect(toList()); |
![]() |
- [x] #739 - [ ] Add delight to the experience when all tasks are complete ๐ |
|
@octocat :+1: This PR looks great - it's ready to merge! :shipit: |
@octocat ๐ This PR looks great - it's ready to merge! |
Header 1 | Header 2 |
---|---|
> [!NOTE] > Useful information that users should know, even when skimming content. |
Note Useful information that users should know, even when skimming content. |
> [!TIP] > Helpful advice for doing things better or more easily. |
Tip Helpful advice for doing things better or more easily. |
> [!IMPORTANT] > Key information users need to know to achieve their goal. |
Important Key information users need to know to achieve their goal. |
> [!WARNING] > Urgent info that needs immediate user attention to avoid problems. |
Warning Urgent info that needs immediate user attention to avoid problems. |
> [!CAUTION] > Advises about risks or negative outcomes of certain actions. |
Caution Advises about risks or negative outcomes of certain actions. |
NB: Make sure you have an empty line after the closing tag, otherwise the markdown/code blocks won't show correctly.
Click to expand!
function logSometing(something) {
console.log(`Logging: ${something}`);
}
Click to close! - Already open...
function logSometing(something) {
console.log(`Logging: ${something}`);
}
Click to see more:
from pychartjs import BaseChart
class myChart(BaseChart):
pass
chartJSON = myChart().get() <div class="container">
<canvas id="myChart"></canvas>
</div> var data = {{ chartJSON | safe }}
var ctx = document.getElementById("myChart").getContext('2d');
var myChart = new Chart(ctx, data); |