public class MyClass{ public static void main(String[] args) { System.out.println(“Hello how are you”); }}
Category: First java program
Data types are: Primitive data types(total 8 types) – byte, short, int, long, float, double, boolean,char Non-primitive data types – array, class and interface Primitive Data Types A primitive data type specifies the size and type of variable values, and it has no additional methods. There Read more…
What is Java? Java is a popular programming language, created in 1995. It is owned by Oracle, and more than 3 billion devices run Java. It is used for: Mobile applications (specially Android apps) Desktop applications Web applications Web servers and application Read more…