Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
Java: All Recent Posts Grouped
Concept Learning Code Sheets View all
Resolving Class and Local Variable Name Clash #3871  (20-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Methods to rightly use variable names when their names clash between class/static types and local types.


Variable Default Values #3867  (20-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Java class variables have default values. Let us experiment with that.


Variable Kinds – Local, Class and Instance Variables #3865  (20-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Mainly used kinds Local, Class and Instance Variables are discussed here.


Variable Declaration and Initialisation #3862  (20-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Variable declaration and initialisation varieties are explained here.


Understanding Reference data type #3859  (20-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Reference data type for class object reference and array reference.


Understanding boolean data type #3850  (19-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

The java boolean data type declaration and its features.


Understanding char data type #3848  (19-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

The java char data type and its possible values are explained here.


Understanding byte, short, int and long types #3846  (19-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Different types of integer data types with its maximum and minimum value limits are explained with this code.


Understanding double and float data type #3840  (19-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Double and float data type declaration its max value and sizing.


Boolean Literals #3822  (13-Mar-2018)
In Topic(s) : Tokens Keywords Identifiers Literals   

Use of boolean literals.


Solved ProblemsView all



Data type selection #3873 (21-Mar-2018)
In Topic(s) : Data Types Variables and Constants   

Write a program to initialise a variable with price of an item as a fractional value. Then prepare another variable to output the price multiplied with 100 so that its lowest currency denomination (LCD) value is achieved. Print the LCD price with a suitable message. Choose appropriate variable names and data types.

Write a program to initialise a variable with price of an item as a fractiona








Concept Notes and ResourcesView all







Back