Java Programming

More articles are needed! Publish yours now! Fresh Your Mind What is Java? Where can Java be used? It can be used for every type of application like the database, CSV interaction, cryptography, mobile applications and even the ones on your car. Introduction to Object-Oriented Programming Concepts A class An Inheritance An intersurface A package Equality, Relational, and …

Continue reading Java Programming

What’s Java?

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. Compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless …

Continue reading What’s Java?

Course Plan: Introducing One-dimentional Array

Ref#. CS-JAVA-CODE-04 Copyright INFO: This article contains additional files: .PDF .DOCX Files are for educational purposes only! Please DO NOT upload files to any other websites or any cloud services. Provide a link to this page when sharing with others. For more information, read policies in Help section. License: This article is licensed under a …

Continue reading Course Plan: Introducing One-dimentional Array

Equality, Relational, and Conditional Operators

Ref#. CS-JAVA-CODE-02 License: This work is licensed under a Attribution 4.0 International. The Equality and Relational Operators These are the signs used to compare something, like two numbers. Take note that some of them are different from what we use in math. We use != in java to represent not equal to, and use == instead of …

Continue reading Equality, Relational, and Conditional Operators

What is a Class?

Ref#. CS-JAVA-CODE-03 This article is under Attribution 4.0 International. In the real world, you'll often find many individual objects all of the same kind. A class can contain fields and methods to describe the behavior of an object. Here's an example to help you understand better: There are different kinds of cats: white cats, black cats, …

Continue reading What is a Class?

Randomly select in an array

Ref#.CS-JAVA-CODE-01 License: This work is licensed under a Attribution 4.0 International. import java.util.Random; public class Testing { public static void main(String[] args) { // TODO Auto-generated method stub String arr[] = {"A","B","C","D","E"}; //To Define an one-dementional array     int len = arr.length; //Get the length of that array     Random random = new …

Continue reading Randomly select in an array