What is Java
Java is a programming language and platform to perform program or coding.
Java is a Robust, object-oriented, high-level and secure programming language.
Use to make desktop application, mobile application, web application and games etc.
Java syntax:
Class Class_name {
Default main function(String [] args)
{
Statement ;
}
}
1. Main function always present in java without main you can’t execute java code.
2. Java program always start with class .
1) Features of Java :-
- Simple
- Object-Oriented
- Portable
- Platform independent
- Secured
- Robust
- Architecture neutral
- Interpreted
- High Performance
- Multithreaded
- Distributed
- Dynamic
Platform: Platform which gives environment(hardware or software) to run program(code). Java has runtime environment(JRE)and API.
Comments
Post a Comment