IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Java
Search Java Group:

Advanced
-Collapse +Expand Java Group Home
-Collapse +Expand Message Board
-Collapse +Expand Java KB
-Collapse +Expand Java To/From
To/FromCODEGuides
-Collapse +Expand Java Store
PRESTWOODSTORE
-Collapse +Expand Members Only

Prestwood eMagazine

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

   ► KB ►► ProgrammingJava   All Groups   Print This   

Java Most Read KB Posts

Page Contents


Most Read KB Articles Since 3/28/2008

Java Group

  KB Article    

Mike Prestwood
1. Java Associative Array (HashMap())

An associative array links a set of keys to a set of values. In Java, associative arrays are implemented as Maps.

This will print "Arizona."

Posted to KB Topic: Language Details
54 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
8863
Hits

Evan Egalite
2. Implementing the Composite and Visitor Patterns in Java

Implementing design patterns can be difficult and little sample code exists that walks you through the process. The purpose of this article is to walk through the implementation of a program that uses the Composite and Visitor design patterns. The sample project is written in the object-oriented language, Java, but it could just as easily have been written in C++.

Posted to KB Topic: OOP
11 years ago, and updated 52 months ago
(2 Comments , last by Anonymous )

Article
Nothing New Since Your Last Visit
7624
Hits

Stephen Berry
3. Stacks in Java Provides the definition of a stack and an example of its implementation in Java
Posted to KB Topic: Java
59 months ago

KB Post
Nothing New Since Your Last Visit
4284
Hits

Mike Prestwood
4. 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
54 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
4100
Hits

Mike Prestwood
5. Eclipse IDE for Java EE Developers (Free) If you need support for Java EE and Web development, consider Eclipse IDE for Java EE Developers.
Posted to KB Topic: Java EE
59 months ago

Download
Nothing New Since Your Last Visit
3960
Hits

Mike Prestwood
6. 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
52 months ago

Code
Nothing New Since Your Last Visit
3691
Hits

Mike Prestwood
7. Java Inheritance (extends ParentClass)

Simple syntax example of class inheritance.

Posted to KB Topic: Language Details
55 months ago, and updated 52 months ago

Code

KB Post
Nothing New Since Your Last Visit
3563
Hits

Stephen Berry
8. Associative Arrays in Java (a Map)

An associative array links a set of keys to a set of values. In Java, associative arrays are implemented as Maps.

This will print "Arizona."

Posted to KB Topic: Language Details
59 months ago

Code
Nothing New Since Your Last Visit
3493
Hits

Mike Prestwood
9. 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
51 months ago

Code
Nothing New Since Your Last Visit
3420
Hits

Mike Prestwood
10. 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
53 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
3233
Hits



Most Read by Members

Java Group

  KB Article    

Mike Prestwood
1. 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
51 months ago
(1 Comments , last by alvitar )

Code
Nothing New Since Your Last Visit
3184
Hits

Mike Prestwood
2. 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
51 months ago

Code
Nothing New Since Your Last Visit
2832
Hits

Mike Prestwood
3. 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
55 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
2387
Hits

Stephen Berry
4. Stacks in Java Provides the definition of a stack and an example of its implementation in Java
Posted to KB Topic: Java
59 months ago

KB Post
Nothing New Since Your Last Visit
4284
Hits

Evan Egalite
5. Implementing the Composite and Visitor Patterns in Java

Implementing design patterns can be difficult and little sample code exists that walks you through the process. The purpose of this article is to walk through the implementation of a program that uses the Composite and Visitor design patterns. The sample project is written in the object-oriented language, Java, but it could just as easily have been written in C++.

Posted to KB Topic: OOP
11 years ago, and updated 52 months ago
(2 Comments , last by Anonymous )

Article
Nothing New Since Your Last Visit
7624
Hits

Mike Prestwood
6. 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
53 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
3233
Hits

Mike Prestwood
7. Java Literals (quote)

Literals are quoted as in "Prestwood". If you need to embed a quote use a slash in front of the quote as in \".

Posted to KB Topic: Tool Basics
54 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
2834
Hits

Mike Prestwood
8. Java Static Members (static)

When calling a static method from within the same class, you don't need to specify the class name.

Posted to KB Topic: Java
55 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
2544
Hits

Mike Prestwood
9. Java Inheritance-Multiple (Interfaces Only)

Java does not support multiple implementation inheritance. Each class can have only one parent class (a single inheritance path). In Java, you can use multiple interface usage to design in a multiple class way horizontally in a class hierarchy.

Posted to KB Topic: OOP
55 months ago, and updated 52 months ago

Code
Nothing New Since Your Last Visit
2480
Hits

Mike Prestwood
10. Java Inheritance (extends ParentClass)

Simple syntax example of class inheritance.

Posted to KB Topic: Language Details
55 months ago, and updated 52 months ago

Code

KB Post
Nothing New Since Your Last Visit
3563
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).
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


337 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


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