Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  java programs programming Blog  > 

Java Programs Blog


rapidjava.blogspot.com
useful site to learn java from basics. beginners are benefited a lot with the code explanation and sample program demonstration
2009-04-01 14:22
lPolymorphism in a Java program -The ability of a reference variable to change behavior according to what object instance it is holding.This allows multiple objects of different subclass… Read More
2009-03-12 13:52
Do-while-loop-is similar to the while-loop-statements inside a do-while loop are executed several times as long as the condition is satisfied -The main difference between a while and do-whil… Read More
2009-03-12 13:46
While loop-is a statement or block of statements that is repeated as long as some condition is satisfied.while loop has the form:while( boolean_expression ){statement1;statement2; . . .}-The… Read More
2009-03-09 14:33
switch-allows branching on multiple outcomes. switch statement has the form:switch( switch_expression ){ case case_selector1: statement1;// statement2;//block 1 break;case case_selector2: s… Read More
2009-03-06 14:54
if Statements are Decision control structures-Java statements that allows us to select and execute specific blocks of code while skipping other sectionsTypes:-if-statement-if-else-statement… Read More
2009-03-05 14:23
Suppose we have here three variables of type int with different identifiers for each variable. int number1;int number2;int number3;number1 = 1;number2 = 2;number3 = 3;As you can see, it see… Read More
2009-03-05 11:32
lA Java application can accept any number of arguments from the command-line. Command-line arguments allow the user to affect the operation of an application. The user enters com… Read More
2009-02-25 14:25
Logical operators have one or two boolean operands that yield a boolean result. There are six logical operators:- && (logical AND)‏-& (boolean logical AND)‏- (logical OR)… Read More
2009-02-25 14:16
Relational operators compare two values and determines the relationship between those values. The output of evaluation are the boolean values true or false Read More
2009-02-23 10:06
unary increment operator (++) unary decrement operator (--)‏ Increment and decrement operators increase and decrease a value stored in a number variable by 1. For example, the expression… Read More
2009-02-23 10:01
Note:-When an integer and a floating-point number are used as operands to a single arithmetic operation, the result is a floating point. The integer is implicitly converted to a floating-poi… Read More
2009-02-23 09:59
Different types of operators:-arithmetic operators-relational operators-logical operators-conditional operatorsThese operators follow a certain kind of precedence so that the compiler will k… Read More
2009-02-23 09:55
A variable is an item of data used to store the state of objects. A variable has a:-data type The data type indicates the type of value that the variable can hold.-name The variable name mu… Read More
2009-02-21 12:55
The Java programming language defines eight primitive data types.-boolean (for logical)‏-char (for textual)‏-byte-short-int-long (integral)‏-double-float (floating point). Logica… Read More
2009-02-20 06:24
Literals are tokens that do not change - they are constant.The different types of literals in Java are:-Integer Literals-Floating-Point Literals-Boolean Literals-Character Literals-String L… Read More
2009-02-20 06:13
Keywords are predefined identifiers reserved by Java for a specific purpose.You cannot use keywords as names for your variables, classes, methods ... etc.Below is the list of the Java Keywo… Read More
2009-02-20 06:04
Identifiers-are tokens that represent names of variables, methods, classes, etc.-Examples of identifiers are: Hello, main, System, out.Java identifiers are case-sensitive.-This means that th… Read More
2009-02-20 05:58
Statement-one or more lines of code terminated by a semicolon.-Example:System.out.println(“Hello world”); Block-is one or more statements bounded by an opening and closing curl… Read More
2009-02-20 05:58
Statement-one or more lines of code terminated by a semicolon.-Example:System.out.println(“Hello world”); Block-is one or more statements bounded by an opening and closing curl… Read More
2009-02-20 05:51
Comments-These are notes written to a code for documentation purposes.-Those texts are not part of the program and does not affect the flow of the program.3 Types of comments in Java-C++ St… Read More
2009-02-20 05:46
The Java programs should always end with the .java extension.Filenames should match the name of your public class. So for example, if the name of your public class is Hello, you should save… Read More
2009-02-19 12:14
1 public class Hello2 {3 /**4 * My first Java program5 */ Indicates the name of the class which is Hello In Java, all code should be placed inside a class declaration… Read More
2009-02-19 11:56
Sample Java Program:1 public class Hello2 {3 /**4 * My first Java program5 */6 public static void main( String[] args ){7 //prints the string Hello world on screen8… Read More
2009-02-19 11:30
Java Virtual Machine (JVM)‏-an imaginary machine that is implemented by emulating software on a real machine.-provides the hardware platform specifications to which you compile all Java… Read More
2009-02-19 11:23
Java technology applications are typically general-purpose programs that run on any machine where the Java runtime environment (JRE) is installed.There are two main deployment environments:… Read More

Share the post

java programs

×

Subscribe to Java Programs

Get updates delivered right to your inbox!

Thank you for your subscription

×