Java – Introduction to OOPS
Application: Program Elements: Program is a set of instructions.Every Program consists, Syntax Examples datatype identity = value; String name = “amar”; int age = 23; double salary = 35000.00; boolean married = false; Syntax Example returntype identity(arguments){ body;} int add(int a, int b){ int c = a+b; return c;}