IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Java
Search Java Group:

Advanced
-Collapse +Expand Java To/From
To/FromCODEGuides
-Collapse +Expand Java Store
PRESTWOODSTORE
   ► KBProgrammingJavaStandard JavaTool Basics   Print This     

Java KB: Tool Basics Topic



10+ Articles Found in the Tool Basics Topic 

  KB Article    

Mike Prestwood
1. Java Code Blocks ({ })

Curly braces are used to bracket code blocks including classes and the methods within a class.

For Java, JavaScript, PHP, and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see moreJava codeformatted that way.

14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
6295
Hits

Java

Mike Prestwood
2. Java Comments (// or /* ... */)

Commenting Code
Java uses "//" for a single line comment and /* */ for a multiple line comment.

14 years ago, and updated 13 years ago
(39 Comments , last by Justin.j )

Code
Nothing New Since Your Last Visit
7517
Hits

Java

Mike Prestwood
3. Java Deployment Overview

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

13 years ago

Code
Nothing New Since Your Last Visit
8272
Hits

Java

Mike Prestwood
4. Java Development Tools

Languages Focus: Development Tools

Primary development tool(s) used to develop and debug code.

Java Development Tools

Many compilers and development tools are available. Common development tools include Sun's J2EE, CodeGear JBuilder, and Eclipse.

14 years ago, and updated 13 years ago
(1 Comments , last by Sofiya.J )

Code
Nothing New Since Your Last Visit
6256
Hits

Java

Mike Prestwood
5. 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 \".

14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
10648
Hits

Java

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

14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
7921
Hits

Java

Mike Prestwood
7. 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.

13 years ago

Code
Nothing New Since Your Last Visit
10157
Hits

Java

Mike Prestwood
8. 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.

14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
11440
Hits

Java

Mike Prestwood
9. 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)
14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
9001
Hits

Java

Mike Prestwood
10. Java Variables (int x = 0;)

Variable names are case sensitive.

The Java basic types are boolean, byte, short, int, long, float, double, and char. You can also declare a variable to hold a particular instance of a class such as String.

14 years ago, and updated 13 years ago

Code
Nothing New Since Your Last Visit
6777
Hits

Java

Icon Legend:
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).

New Java Knowledge Base Post...

Share your knowledge with the WORLD! In addition to adding comments to existing posts, you can post knowledge you've acquired. We welcome full articles (intro with screen shots), general posts (shorter), and tidbits (tips, FAQs, definitions, etc.).

Post New...

Tidbit Post: Short Flashcard FAQ Definition Quick Tip Code Snippet
Longer Post: Full Article General Post File Link Error News
Other: Blog Topic
Or, if YOU have a question...
  Java Message Board
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2022 Prestwood IT Solutions.   [Security & Privacy]