Tag: java
-
JavaPackages in Java
In Java, a package is a container for a collection of classes, sub-packages, and interfaces. The package keyword is used to create…
June 3, 2022
-
JavaType casting in Java
In Java, type casting is a method or process for manually and automatically converting one data type into another. The…
April 30, 2022
-
JavaOperator Precedence & Associativity
Operator precedence determines the order in which the operators in an expression are evaluated. Associativity rules determine the grouping of…
April 30, 2022
-
JavaOperators in JAVA
The operators in Java represent the operations, i.e, operators perform operations on the operands. Let us discuss the various operators…
April 28, 2022
-
JavaConstants in Java
In programming, a constant is an immutable entity. To put it another way, the value cannot be altered. In a…
April 26, 2022
-
JavaVariables in Java
Variables represent named storage locations, whose values can be manipulated during the program run. For instance, to store the name…
April 21, 2022
-
JavaData Types in Java
Data types are means to identify the type of data and associated operations of handling it. Java, like any other…
April 21, 2022
-
JavaEscape Sequence
Java allows us to have certain non-graphic characters in character constants. (non-graphic characters are those which cannot be typed directly…
April 21, 2022
-
JavaLiterals in Java
Literals(often referred to as constants) are data items that are fixed data values. Java allows several kinds of literal: integer-literal…
April 21, 2022
-
JavaIdentifiers
Identifiers are fundamental building blocks of a program and are used as the general terminology for the names given to…
April 21, 2022