Java Basics: Day1
- Get link
- X
- Other Apps
Programming language :
It is a language through we can provides instruction to our device to get desire output.
Java : Java is a high level object oriented programming language.
Features of java :
Easy to learn and code
High level
Statically types
Platform independent
Case sensitive
Support oops concept
Robust language
Java language conversion :
As we know that java is a high level language which is easyly understand by human but not by our device.
To overcome the issue the java developers provides us two software.
that is Compiler and JVM
Compiler compiles the codes are generated byte code which is only understood by covert into binary.
Tokens :
These are the terms which are resposive for executing a java code.
Ex: class, method, variabe, object, keyword.
IDE (Integrated Development Enviroment) :
It is a space where we can write and executed our codes.
Ex: Notepad , VS code , Eclipes, Notepad++
Basic Syntax :
class A
{
public static void main(String args[])
{
System.out.println("ok");
}
}
Identifier :
These are used to indentify class , method , and variable by providing them name.
Rules of Identifier :
* We can not allow to provide any integer as an Identifier directly.
* We can provide both charecter and integer combine as an identifier but it should not start with integer.
* We can not allow to provide any keyword as an identifier.
Keyword :
These are the pre reserved word through which we can perform specific action only.
Data type :
Every data is some type that type is called datatype.
There are two types of data type
* Primitive data type
* Non primitive data type
Primitive data type : When ever we want to store a countable number of units in java we will go for primitive data type.
Non primitive data type : When ever want to store a uncountable in java we will go for non primitive data type.
- Get link
- X
- Other Apps
Comments
Post a Comment