Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/pages/docs/basic-input-output.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ description: In this tutorial, you will learn simple ways to display output to

---

import { Heading } from '@/components/Heading'
import Link from 'next/link'
import { TipInfo } from '@/components/Tip'



## Java Output
In Java, you can simply use

Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/comments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: Java Comments
description: In this tutorial, you will learn about Java comments, why we use them, and how to use comments in right way.
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'

import { TipInfo } from '@/components/Tip'


Expand Down
3 changes: 0 additions & 3 deletions src/pages/docs/expressions-statements-blocks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ title: Java Expressions, Statements and Blocks
description: In this tutorial, you will learn about Java expressions, Java statements, difference between expression and statement, and Java blocks with the help of examples.
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'
import { TipInfo } from '@/components/Tip'


In previous chapters, we have used expressions, statements, and blocks without much explaining about them. Now that you know about variables, operators, and literals, it will be easier to understand these concepts.

## Java Expressions
Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ title: Hello World
description: In this tutorial, you will learn to write "Hello World" program in Java.
---

import { Heading } from '@/components/Heading'
import { List, ListItemGood } from '@/components/List'
import Link from 'next/link'


A "Hello, World!" is a simple program that outputs `Hello, World!` on the screen. Since it's a very simple program, it's often used to introduce a new programming language to a newbie.

Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/if-else-statement.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ title: Java if...else Statement
description: n this tutorial, you will learn about control flow statements using Java if and if...else statements with the help of examples.
---

import { Heading } from '@/components/Heading'

import { TipInfo } from '@/components/Tip'
import Link from 'next/link'
import NextImage from 'next/image'

In programming, we use the `if..else` statement to run a block of code among more than one alternatives.
Expand Down
3 changes: 0 additions & 3 deletions src/pages/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ title: Installation
description: Learn how to get Java up and running in your project.
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'

## Installation

Since installation process is slightly different in different devices. So we prefer that you should check the [official installation documentation](https://www.java.com/en/download/help/download_options.html) to install **☕ Java** on your device.
Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ title: Introduction
description: A guick intro to Java programming language
---

import { Heading } from '@/components/Heading'
import { List, ListItemGood,ListItemBad } from '@/components/List'
import Link from 'next/link'


**Java** is a powerful **general-purpose programming language**. It is used to **develop desktop and mobile applications, big data processing, embedded systems**, and so on. According to **Oracle**, the company that owns **Java**, **Java runs on 3 billion devices worldwide**, which makes Java one of the most popular programming languages.

Expand Down
2 changes: 0 additions & 2 deletions src/pages/docs/jvm-jre-jdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Java JDK, JRE and JVM
description: Definations of JDK, JRE and JVM
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'
import NextImage from 'next/image'


Expand Down
2 changes: 0 additions & 2 deletions src/pages/docs/operators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ description: In this tutorial, you'll learn about different types of operators i

---

import { Heading } from '@/components/Heading'
import { TipInfo } from '@/components/Tip'
import Link from 'next/link'


Operators are symbols that perform operations on variables and values. For example,`+` is an operator used for addition, while `*` is also an operator used for multiplication.
Expand Down
2 changes: 0 additions & 2 deletions src/pages/docs/variables-and-literals.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Java Variables and Literals
description: Variables and Literals in Java
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'
import { TipInfo } from '@/components/Tip'


Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/variables-primitive-data-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ description: In this tutorial, we will learn about all 8 primitive data types in

---

import { Heading } from '@/components/Heading'
import { List, ListItemGood } from '@/components/List'
import Link from 'next/link'
import { TipInfo } from '@/components/Tip'


## Java Data Types

As the name suggests, data types specify the type of data that can be stored inside [variables in Java](/docs/variables-and-literals).
Expand Down
3 changes: 0 additions & 3 deletions src/pages/programs/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ title: Introduction
description: A brief introduction to Java Programming.
---

import { Heading } from '@/components/Heading'
import Link from 'next/link'

## Intro
3 changes: 1 addition & 2 deletions src/pages/programs/print-an-integer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ title: Print an Integer
description: In this program, you'll learn to print a predefined number aw well as a nummber entered by the user in Java.
---

import { Heading } from '@/components/Heading'
import { List, ListItemGood } from '@/components/List'
import Link from 'next/link'


The integer is stored in a variable using `System.in`, and is displayed on the screen using `System.out`.

Expand Down