JAVA EXAMPLE PROGRAMS

JAVA EXAMPLE PROGRAMS

Publish Your Article Here

Java Fundamentals


Description:

Here we are trying to give examples for java fundamentals like data types, java variables, static variables, static methods, static blocks, arrays, enum, wrapper classes, etc.

  1. Data Types
  2. Variables
  3. Static variables, methods and static block
  4. Java Static Import
  5. Arrays
  6. Java Loops
  7. Java Enum
  8. Java Integer Wrapper Class
  9. Java Boolean Wrapper Class
  10. Java Math Class Examples
  11. Java ProcessBuilder Class Examples
Knowledge Centre
What is race condition?
A race condition is a situation in which two or more threads or processes are reading or writing some shared data, and the final result depends on the timing of how the threads are scheduled. Race conditions can lead to unpredictable results and subtle program bugs. A thread can prevent this from happening by locking an object. When an object is locked by one thread and another thread tries to call a synchronized method on the same object, the second thread will block until the object is unlocked.
Famous Quotations
The very best thing you can do for the whole world is to make the most of yourself.
-- Wallace Wattles

About Author

Most Visited Pages

Other Interesting Sites

Reference: Java™ Platform Standard Ed. 7 - API Specification | Java is registered trademark of Oracle.
Privacy Policy | Copyright © 2017 by Nataraja Gootooru. All Rights Reserved.