Do you know this example tricks?

C Tutorial / Language

Include the header file for input and output

Java by API / Java Lang

Double NEGATIVE_INFINITY

C# / Date Time

Get UTC offset

Oracle PLSQL / Data Type

Use clob to store xml data

Delphi / Hardware

Hook the keyboard

C# Tutorial / LINQ

Modifying Where Behavior

Python Tutorial / Network

HTML Title Retriever With Entity Support

MySQL / Command Mysql

Issue a mysqldump command

Java / PDF RTF

Adding Gif image to Pdf document

Java / Swing JFC

Using a JComboBox in a Cell in a JTable Component

Java / Database SQL JDBC

Create new data type

C++ Tutorial / STL Algorithms Modifying Sequence Operations

Use predicate in std

Sample Android Codes

Android / File

String to InputStream

Android / Development

CustomExceptionHandler implements UncaughtExceptionHandler

Android / Core Class

Alarm demo

Android / Network

Downloads a file given URL to specified destination

Android / UI

Use EditText to accept user input

Android / Date Type

An InputStream that does Base64 decoding on the data read through it

Android / Date Type

String to Hex

Android / 2D Graphics

Rotate specified Bitmap by a random angle Scales the specified Bitmap to fit within the specified dimensions

Android / Network

Download from URLConnection

Android / Date Type

Random and Roundup

Android / Development

Xml Parse

Android / Date Type

ISO8601, ISO8601, RFC822 Date format

Sample C# Codes

C# / Class Interface

Virtual and overload

C# / WPF

Image as Resource

C# / Class Interface

An example of operator overloading

C# / XML

Get Attribute and return Int64

C# / WPF

Elliptical Arc Path

C# / Language Basics

Simulate a conveyor belt

C# / WPF

Bind property of one instantiated control

C# / XML LINQ

Deleting a Specific Node with Remove

C# / Reflection

Searches for the interface with the specified name

C# / 2D Graphics

Make Bitmap from UIElement

C# / WPF

Put Image with tooltip onto statusbar

C# / WPF

Opacity Animation

Sample Java Codes

Java / Collections Data Structure

Convert array of primitives into array of objects

Java / Servlets

Servlets Application Listener

Java / Core

Detect ASCII values

Java / Development Class

Read an int from Standard Input

Java / Security

MessageDigest with SHA-1

Java / Data Type

Pass a string to the Integer class constructor and call the intValue()

Java / Class

Objects that cannot be modified are immune to aliasing

Java / Swing JFC

JSlider Sample 2

Java / Collections Data Structure

How to extend the collections framework

Java / Data Type

Returns the portion of the given string that comes before the last occurance of the specified separator

Java / Swing JFC

This applet displays a greeting from the authors

Java / Collections Data Structure

Weak Value HashMap

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.