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.
Methods to rightly use variable names when their names clash between class/static types and local types.
Java class variables have default values. Let us experiment with that.
Mainly used kinds Local, Class and Instance Variables are discussed here.
Variable declaration and initialisation varieties are explained here.
Reference data type for class object reference and array reference.
The java boolean data type declaration and its features.
The java char data type and its possible values are explained here.
Different types of integer data types with its maximum and minimum value limits are explained with this code.
Double and float data type declaration its max value and sizing.
Use of boolean literals.
Write a program to assign a full path and file name as given below. Using lib
Using the switch statement, write a menu driven program for the following:
Write a program to input integer elements into an array of size 20 and perfor
Using switch statement, write a menu driven program for the following:
Write a program to accept a number and check and display whether it is a spy
Define a class ElectricBill with the following specification
What is the difference between the Scanner class functions next() and nextLin
Analyze the given program segment and answer the following questions:
Give the output of the following code:
String A =”26″, B=&
What are the values stored in variables r1 and r2:
(i) double r1 = Math
Exception is a type of runtime error while execution of program which user can possibly handle (catch) and report with a suitable message or take some other planned action. for e.g. divide by zero (Arithmetic exceptions), array out of bound (ArrayIndexOutOfBoundsException), file not found (FileNotFoundException) Exception can be handled by using the try […]
List of commonly used java packages.
Know about basic data types and size they require for storage.
A presentation about java download and installation procedure followed by a sample first program for testing the correctness of installation.
An introduction presentation about JAVA as a programming language, its evolution and its primary concepts.