Category: Java

  • Access modifiers

    Access modifiers Access modifiers help you set the level of access you want for your class, variables as well as methods. There are in all three access modifiers. But there exists a fourth one called the default access modifier . Default is an access control which will be set when one does not specify any […]

    Posted in: Java

  • Java Statement

    Types of Java Statement Control Statement Assignment Statement In this chapter we will discuss about control statements. Visit here for assignment statement topic.   Control Statements Conditional execution Looping Flow Control Statement   Types of Conditional Execution If Statement If – Else statement If- Else-if statement Switch Statement   If Statement If statement in java […]

    Posted in: Java

  • Java Operators

    Java Operators In this chapter we will learn about Operator Precedence and Operator Associativity. Operator Precedence Precedence decides which operator will be evaluated first in a case where more than one operators are present in the same calculation. Operator Precedence Table Operators Precedence(High to Low) postfix expr++ expr— unary ++expr —expr +expr –expr ~ ! multiplicative * / % additive […]

    Posted in: Java

  • Java variables

    Variable Definition A variable in Java, objects store their states in java variables. Variables are used as containers to hold values (int, long, string…) during the life cycle of an application. A variable provides us with named storage that our programs can manipulate. To define a variable, we need to assign a data type for […]

    Posted in: Java

  • Getting Started with Java

    Before the learning JAVA we have to download the latest version of Java from here . Java Installation in windows  Once java is downloaded in your system, it can be installed like any other software (.exe) in your Windows system. Setting up the Environment Variables After installing Java there are some steps that need to be follow […]

    Posted in: Java