Integer literals : Values that we can assign to integer data types ( byte , short , int, long ) are called integer literal . All positive and negative numbers
A constant value that can be assigned to variable is called literal. For example : int a= 10. Here, 10 is a literal. The following are different types of literals
Single precision : To represent IEEE standard single precision float type we need 32 bit word. First bit (left most bit) is the sign bit. Next eight bits are Exponent
Floating point data types can hold fraction numbers. float, double comes under Floating point data types category. Let’s see each one in detail . float : float size is 32
boolean : To assign logical values, java provided boolean data type Possible values we can assign to boolean type are true and false Both true and false are case sensitive
In java, char is used to hold the character data. In C & C++ we can use ASCII characters only. To hold all the ASCII characters 1 byte (1 byte
Identify greater number and smaller number without using if else conditions . Let’s say we have two numbers a , b . How do you print greater number and smaller
install node js install expo npm install -g expo-cli create project in your machine – open cmd and run expo init project-name download android studio for simulator for windows machine
Download certificate from chrome browser Open chrome browser Open google.com Click on lock icon in the left side of address bar Click on connection is secure Click on certificate is
use useRouter hook . It may resolve ur proble. import { useRouter } from ‘next/router’;
Add default value to property . See the below code we are passing empty string as default value <StyledHTML html= {landingPage?.helpCenter?.vocBodyMessage || ”} />
We can create thread in the following two ways . 1) By extending Thread class2) By implementing Runnable interface In this tutorial we are going to learn how to create
A thread is an independent path of execution of a program. We can run multiple threads simultaneously within a program . A thread can be in one of the below
Multitasking : Executing multiple tasks at the same time is called multi tasking . Here task can be program . Even multi tasking and multi processing words are being used
1) Collection interface is child of Iterable interface . 2) Collection interface provided the most common methods , which can be applied for any collection object 3) Following is the
In real time programming , Some times we need to group individual objects into single unit . We can achieve this using arrays . But arrays have below limitations .
In java, many modifiers are there, those are: 1) private2) protected3) public4) default5) Abstract6) Final7) Synchronised8) Volatile9) Static10) Native11) Transient default is not a keyword. If you don’t specify any
Package is collection of classes , interfaces and sub packages. Package must be a first statement of a class. To get package details getPackage() method is given in java.lang.Class .