JAVA BASIC OVERVIEW : Java is high-level, class-based, robust, platform independent and object oriented programming language. Here each keyword has specific meaning which we need to understand. How java internally works and execute our logic ? We will need to write a file with extension .java, in which we will be writing our logics to be executed and this should be inside a class because java starts from main method of any class which is public inside the file named same as class name. Example : public class FirstJavaProgram { public static void main(String[] args) { //our logics } } This code should be saved in a file named as FirstJavaProgram.java Whenever we are writing a java class, it's basically a blue print of what class has and it can do, it means characteristics and behaviour , just like a simple real l...
Comments
Post a Comment