I.T. Discussion Community!
-Collapse +Expand
Java
Search Java Group:

Advanced
-Collapse +Expand Java To/From
To/FromCODEGuides
-Collapse +Expand Java Store
PRESTWOODSTORE

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► KB ►► ProgrammingJava   Print This    All Groups  

Java New and Updated KB Posts

Page Contents


Recently Created

(Java Group)

  KB Article    

Mike Prestwood
1. Java Deployment Overview

Java applets and applications both require the Java Runtime Environment (JRE) and any additional dependencies you've added.

Posted to KB Topic: Tool Basics
10 years ago

Code
Nothing New Since Your Last Visit
7243
Hits

Mike Prestwood
2. Java Report Tools Overview

Both Eclipse 3.3 and JBuilder 2008 come bundled with Business Intelligence and Reporting Tools (BIRT). BIRT is an Eclipse-based open source reporting system with both a report designer based on Eclipse, and a runtime component that you can add to your app server plus a charting engine that lets you add charts.

Posted to KB Topic: Tool Basics
10 years ago

Code
Nothing New Since Your Last Visit
9012
Hits

Mike Prestwood
3. Java Logical Operators

Java logical operators:

&& and, as in this and that
|| or, as in this or that
! Not, as in Not This
& boolean logical OR (not short circuited)
| boolean logical OR (not short circuited)
?: Ternary (short for if-then-else)
~ Unary bitwise complement
<< Signed left shift
>> Signed right shift
>>> Unsigned right shift
^ Bitwise exclusiv OR

Posted to KB Topic: Language Basics
10 years ago
(2 Comments , last by Ashwin.k )

Code
Nothing New Since Your Last Visit
10738
Hits

Mike Prestwood
4. Java Inlining (Automatic)

The Java compiler automatically inlines when it determines  a benefit. The use of final methods is considered a compiler hint to tell the compiler to inline the method if beneficial.

Posted to KB Topic: Language Details
10 years ago

Code
Nothing New Since Your Last Visit
10772
Hits

Mike Prestwood
5. Java Member Field

In Java, you can set the scope of a field member to public, protected, or private. Additional modifiers are static, abstract, final (assign only once), strictfp (strict floating point values) transient (do not save to persistent storage), and volatile (all threads see same value).

Posted to KB Topic: OOP
10 years ago

Code
Nothing New Since Your Last Visit
8381
Hits

Mike Prestwood
6. Java If Statement (if..else if..else)

Syntax template:

if (expression) {
  expression1_true_code;
} else if (expression2) {
expression2_true_code;
} else {
  otherwise_code;
}
Posted to KB Topic: Language Basics
10 years ago

Code
Nothing New Since Your Last Visit
5992
Hits

Mike Prestwood
7. Java Comparison Operators (==, !=)

The Java comparison operators are:

  • < less than
  • <= less than or equal to
  • == equal to
  • >= greater than or equal to
  • > greater than
  • != not equal
Posted to KB Topic: Java
10 years ago

Code
Nothing New Since Your Last Visit
9343
Hits

Mike Prestwood
8. Java Abstraction (abstract)

Java supports marking a full class as abstract as well as class members. A subclass must either implement the abstract members or you must declare the subclass abstract (which delays the implementation to it's subclass).

Posted to KB Topic: Java
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
8550
Hits

Mike Prestwood
9. Java Overview and History

Promoted as a single source cross-platform runtime system (Write Once, Run Anywhere). Java builds on and in some ways simplifies the object oriented features of C++. Java applications are typically compiled to byte-code and can run on any platform running the Java Virtual Machine (JVM).

Target Platforms: Java is suitable for creating many types of cross-platform applications that target the JVM including desktop business applications.

Posted to KB Topic: Tool Basics
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
6960
Hits

Mike Prestwood
10. Java String Concatenation (+ or append)

Java String Concatenation

In Java, you use either the String concatenation + operator or StringBulder class methods such as append. Since Java compilers frequently create intermediate objects when the + operator is used and don't when StringBuilder.append is used, the append method is faster than the + operator.

In general, use the convenience of a + operator when speed is not an issue. For example, when concatenating a small number of items and when code isn't executed very frequently. A decent rule of thumb is to use the + operator for general purpose programming and then optimize the + operator with StringBuilder.append as needed.

Posted to KB Topic: Tool Basics
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
10332
Hits




Recently Updated

(Java Group)

  KB Article    

Mike Prestwood
1. Java Deployment Overview

Java applets and applications both require the Java Runtime Environment (JRE) and any additional dependencies you've added.

Posted to KB Topic: Tool Basics
10 years ago

Code
Nothing New Since Your Last Visit
7243
Hits

Mike Prestwood
2. Java Report Tools Overview

Both Eclipse 3.3 and JBuilder 2008 come bundled with Business Intelligence and Reporting Tools (BIRT). BIRT is an Eclipse-based open source reporting system with both a report designer based on Eclipse, and a runtime component that you can add to your app server plus a charting engine that lets you add charts.

Posted to KB Topic: Tool Basics
10 years ago

Code
Nothing New Since Your Last Visit
9012
Hits

Mike Prestwood
3. Java Logical Operators

Java logical operators:

&& and, as in this and that
|| or, as in this or that
! Not, as in Not This
& boolean logical OR (not short circuited)
| boolean logical OR (not short circuited)
?: Ternary (short for if-then-else)
~ Unary bitwise complement
<< Signed left shift
>> Signed right shift
>>> Unsigned right shift
^ Bitwise exclusiv OR

Posted to KB Topic: Language Basics
10 years ago
(2 Comments , last by Ashwin.k )

Code
Nothing New Since Your Last Visit
10738
Hits

Mike Prestwood
4. Java Inlining (Automatic)

The Java compiler automatically inlines when it determines  a benefit. The use of final methods is considered a compiler hint to tell the compiler to inline the method if beneficial.

Posted to KB Topic: Language Details
10 years ago

Code
Nothing New Since Your Last Visit
10772
Hits

Mike Prestwood
5. Java Interfaces (Yes)

General Info: Interface

An element of coding where you define a common set of properties and methods for use with the design of two or more classes.

Both interfaces and abstract classes are types of abstraction. With interfaces, like abstract classes, you cannot provide any implementation. However, unlike abstract classes, interfaces are not based on inheritance. You can apply an Interface to any class in your class tree. In a real sense, interfaces are a technique for designing horizontally in a class hierarchy (as opposed to inheritance where you design vertically). Using interfaces in your class design allows your system to evolve without breaking existing code.

Java Interfaces

Posted to KB Topic: OOP
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
7203
Hits

Mike Prestwood
6. Java Inheritance (extends ParentClass)

Simple syntax example of class inheritance.

Posted to KB Topic: Language Details
11 years ago, and updated 10 years ago

Code

KB Post
Nothing New Since Your Last Visit
12250
Hits

Mike Prestwood
7. Java Unary Operators

An operation with only one operand (a single input). The Java unary operators are ++, --, +, -, ~, and !.

  • + Indicates positive value (numbers are positive without this)
  • - Negates an expression
  • ++ Increment operator by 1
  • -- Decrement operator by 1
  • ! Logical complement operator (inverts the value of a boolean)
  • ~ Bitwise inversion operator (works on integral data types)
Posted to KB Topic: Tool Basics
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
7924
Hits

Mike Prestwood
8. Java finalize (finalize())

Java has a garbage collection algorythm that runs as a background task so it has no destructors. You can use the finalize() method to close additonal resources such as file handles.

Posted to KB Topic: OOP
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit
24973
Hits

Mike Prestwood
9. Java Constructors (Use class name)

A method with the same name as the class.

Posted to KB Topic: OOP
11 years ago, and updated 10 years ago

Code
Nothing New Since Your Last Visit  
7721
Hits

Mike Prestwood
10. Java Member Field

In Java, you can set the scope of a field member to public, protected, or private. Additional modifiers are static, abstract, final (assign only once), strictfp (strict floating point values) transient (do not save to persistent storage), and volatile (all threads see same value).

Posted to KB Topic: OOP
10 years ago

Code
Nothing New Since Your Last Visit
8381
Hits
Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech