Programmer Coding

Author name: admin

Expressions

Expressions are necessary designing blocks of any Java program, usually produced to produce a newvalue, although sometimes an expression simply reattach a value to a variable. Expressions are built using values, variables, operators and way(method) calls. Types of Expressions While an expression often produces a result, it doesn’t all way(method) . There are three types

Expressions Read More »

Operators in java

Operator in java is a mark that is used to apply missions. For example: +, -, *, / etc. There are a lot of types of operators in java which are given below: 1. Unary Operator, 2. Arithmetic Operator, 3. shift Operator, 4. Relational Operator, 5. Bitwise Operator, 6. Natural or logical Operator, 7. Ternary

Operators in java Read More »

variables:-

Variable is manly use for memory location. Java have three type of variable Example of variables:- public class airthmatic_operater { public static void main(String[] args) { int a,b; a=20; b=10; System.out.println(a+b); } }   output:- 30       Variable in java Variable is manly use for memory location. Java have three type of variable

variables:- Read More »

Scroll to Top