Blog Introductions

In this  blog contains tutorials about  HTML Tutorials, Python Tutorials, CSS Tutorials, How to, PHP Tutorials, Java Tutorials, C++ Tutorials, Tutorials,  Examples, Source code,Learning,
Tips and Software development  services. Java Basic Syntex and Structure | Java tutorials  Bestitworriors


Java Basic Syntex and Structure 


Java tutorials



Java Basic Syntex and Structure | Java tutorials  Bestitworriors - Java file having extenssion filename.java.Java langauge is similar to c++ and c#.In java langauge all work done in class.Inside class we declear main function of class that run first in class and all other start up code written in the java main function.Java support single line and multiline comments. Single line comments written as //Comments and multiline comments written as /* multiple lines */. Java use System.out.prientln("Output") to print the output.


Some Key Points of Java Basic Syntex and Structure 



  1. Jva file having extenssion filename.java
  2. Java syntex is similar to c++ and c#
  3. In java all work done in the class
  4. Inside the class first run main function
  5. Java support single line and multiline comments.
  6. Java use System.out.prientln("Output") to print the output.
  7. In java class first startup function is main syntex as public static void main(String[] args){// Code here }


Code



public


class bassics {

public static void main(String[] args) {
System.out.println("Best it Worrior is Best Platform");

// Comments
/ *
Multilines Comments

* /
}
}



OutPut


Best it Worrior is Best Platform


I hope You really enjoyed this blog . I try my best to make every thing is easy and helpfull to provide to public .You will get more blog about the Programing project and code . Thanks for visiting my blog if you have any querry related to this you can comment here i will try my best to response you back about Java Basic Syntex and Structure | Java tutorials  Bestitworriors