1. Home
  2. /
  3. Programming
  4. /
  5. Java
  6. /
  7. Page 4

Tutorial Category: Java

Java is a high-level, object-oriented programming language that is widely used for developing a variety of applications, including desktop software, mobile apps, and web applications. It was originally developed by Sun Microsystems in the mid-1990s and is now owned by Oracle Corporation.

Java is known for its “write once, run anywhere” philosophy, which means that code written in Java can be compiled and executed on any platform that supports the Java Virtual Machine (JVM), including Windows, macOS, Linux, and many others.

Some of the key features of Java include:

Object-oriented: Java is a fully object-oriented programming language, which means that everything in Java is an object.

Platform-independent: Java code can be compiled and run on any platform that supports the JVM.

Garbage collection: Java uses automatic garbage collection to automatically free up memory that is no longer in use.

Strong typing: Java is a statically typed language, which means that variables must be declared with a specific type.

Exception handling: Java includes built-in support for exception handling, which makes it easy to write code that can handle errors and unexpected events.

Rich API: Java includes a large library of built-in classes and APIs for performing common tasks, such as reading and writing files, networking, and user interface development.

Java is widely used in enterprise applications, including banking, healthcare, and insurance. It is also commonly used for developing mobile applications for the Android operating system.

A Brief Introduction To Java IO

Input and output, or I/O for short, are probably the most underappreciated topics in computer science. Most programmers take them for granted. Developers use I/O...

Network Programming In Java

What Is Computer Networking?It is the infrastructure that allows multiple end devices (such as computers) to communicate in the same logical environment. It is...

Concurrent Programming in Java - PART ONE

Computer users take it for granted that their systems can perform multiple tasks at once. They believe they can keep working in a word processor while other programs...

Concurrent Programming in Java – PART TWO

What Is Multithreading In Java?In Java, multithreading refers to the process of running two or more threads at the same time to maximize CPU utilization. In...

Concurrent Programming in Java - PART THREE

The Three States Of A New ThreadNEWThread thread = new Thread(runnable);A Thread instance has been created but has not yet been started. In other...

Concurrent Programming In Java - PART FOUR

How To Put A Thread To Sleep?One of the best ways to help your threads take turns is to put them to sleep periodically. Simply call the static sleep() method...

Concurrent Programming In Java - PART FIVE

New And Improved SimpleChatClientWe built the SimpleChatClient near the beginning of this tutorial, which could send outgoing messages to the server but not receive...

GUI Programming In Java - PART ONE

A graphical interface is required when developing applications for other people to use. You want a graphical interface if you’re writing programs for yourself....

GUI Programming In Java - PART TWO

How To Put Stuff On The Screen?Let’s get back to putting stuff on the screen now that we’ve learned a little bit about how events work (we’ll...

GUI Programming In Java - PART THREE

We can get an event. We can paint graphics. But can we paint graphics when we get an event?Every time you click the button, the circle will change colors. The...

Check Our Ebook for This Online Course

Advanced topics are covered in this ebook with many examples.

How do I split a string in Java?
String splitting is a fundamental operation in Java programming, enabling developers to break down a...
Detecting an undefined object property
What is Object Property?An object property is a named value associated with an object. It consists...
A Brief Introduction To Java IO
Input and output, or I/O for short, are probably the most underappreciated topics in computer science....