Learn how to create and define method in Java language and how to call methods in java program. Also, learn defining multiple methods and why
Category: Java Tutorial
Learn what is method return types and parameters in java with code example and simple explanations. You will be learning… how to return int and
Learn how to get input from user / keyboard like int, string and double data types etc in java program. Example of taking integer /
Learn about assignment operator in java with example and easy explanation. Also, learn assignment operator combined with arithmetic operators in java like +=, *= etc.
Relational operators in java language e.g. equal, greater than or less than etc. are used to check the relationship between two variables or expressions. It
Learn about arithmetic operators in java programming i.e. + plus, – minus, * multiplication, /division and % modulo operators with simple example and explanation. Below
Generally, logical operators in java language e.g. &&, || (Logical AND and Logical OR respectively) are used to evaluate an expression to Boolean if they
Unary operators in java language is used to increment / decrement the value of a variable or to negate the value of a Boolean variable
Learn if else in java including if else ladder and nested if else conditional statements with simple explanation and program example. If else in Java
Learn switch case in java language with simple explanation, doubts, code example and exercises. Switch case statement in java is also conditional statement. In switch