Search This Blog

save java programs with".java" extension

examples :

helloworld.java
sample.java
match.java
send-mail.java

quick links

basics

beginning
first java program                                              
add two numbers in java                                     
check age and simple if in java                        
current meter bill amount in java                        
discount for purchase in java
net salary calculate in java
total and average in java
sum of digits
circle area and perimeter in java
wrapperint in java

control structures
if :
simple-if in java

if else in java                                                                                                                
nested if in java
if else ladder in java
switch case :
switch statement in java

do-while loop :
do-while in java

while loop :
while loop in java

for loop :
for loop in java

this keyword
" this " key word introduction in java
"this" keyword program1 in java
"this" keyword program2 in java
"this" keyword program3 in java
"this" keyword program4 in java
"this" keyword program5 in java

static and non-static
static and non static introduction

static and nonstatic demo in java

object
object in java sample program
default values in java
default values of reference in java
multiple classes and mains in java
accessing members of one class inside
use different classes data with one class with object in java

constructor
default constructor in java
parameterized constructor in java
constructor overloading in java

Interface
Interface demo


other