Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Notes Ofjava

The document outlines a comprehensive Java full course, covering Core Java, Advanced Java, and Android Java. It includes details on the syllabus, reasons to learn Java, its history, and basic syntax. Additionally, it provides examples of Java programs and instructions for installation and execution.

Uploaded by

Doremon Yt
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Notes Ofjava

The document outlines a comprehensive Java full course, covering Core Java, Advanced Java, and Android Java. It includes details on the syllabus, reasons to learn Java, its history, and basic syntax. Additionally, it provides examples of Java programs and instructions for installation and execution.

Uploaded by

Doremon Yt
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Java Full Course

• Flavours of Java

Java

_______________________________________________________
|
Core Java (J2SE) Advance Java (J2EE) Android Java
(For Software) (For website raking) (for mobile app)

• Core Java Syllabus:-


→ introductions to Java
→Features of Java

• Core Java Syllabus:-


A why Learn java
introductions to java
1. why learn Java
2. introduction of java
→syntax of java
→installation of java
→ first java program
3. First Java program
4. Compilation & Executions process of Java.

why Learn Java?


1. Simple and easy to learn
2. Open Source
3. platform independent
4. Secure
5. Embedded (C++, Java)
6. Compiled & interpreter
7. Robust
8. Large Library & Frameworks

* Why Java so popular #


1. software developed
2. website developed
3. Mobile App developed

• what is Java? (Full explanation.)

Ans:- Java is a class based high-Level, Object- Oriented programming


language developed by “James Gosling” and his friends in the Year-1995.
that time Java version name in Starting period alpha & Beta
Note:
* The first version of Java (Jdk 1.0) was released on the year Jan-2372
1996 by “Sun microsystem".

* Later version of Java JDK 16 on the day 16th March 2021 by "Oracle".

Syntax:- (Rules of Java, How to write)

Class Class-Name
{ (no value return) (parameter method)

public static void main (String args[])


(Array)
(execute) predefined class(always start with Capital latter)

{
//code

}
• Java Comments:-
1. Single Line (11)
2. Multiple-Line (/*.....*/)

# installation of Java (JdK. 16)


# installation of Eclipse IDE (integrated Development environments)

• History of Java:-
* The old name of java is- Oak
* The symbol of Java is Coffee Cup.
* Oak name Charge because that name of Tree Same is different Country
name S0 97 various Charge into Java in indonesia Country.

# First Java program?

class First
{
public static void main(String[] { args)
{
System.out.print("Java Full Course.....”)

}
}

Write a program to store any integer and print massage in java “hello
world”?

public class HelloWorld {

public static void main(String[] args) {


// Storing an integer
int myInteger = 42;

// Printing "Hello, World!"


System.out.println("Hello, World!");

// Printing the stored integer


System.out.println("The stored integer is: " + myInteger);
}
}

There are two types of run java program:-

1. Java Application
2.Which notepad with cmd(command prompt)

→Rules of notepad with compile check:-

Right button click on desktop

New

Text document

Type code of Java for the program

File

Save as

Location desktop

First.java

Save

• Open command prompt


1.cd/desktop(change path)
2.Javac first Java
3.(output show on cmd)

You might also like