Blog

AngularJS was among the first JavaScript frameworks with tons of functionality. Google developed this framework and open-sourced it in 2012. Since then, a team of google developers and open-source contributors have worked together in maintaining and updating this framework. Whether you believe it or not, AngularJS is easy to learn, and by the end of…

Read More A Step-by-Step Tutorial for Developing Your First AngularJS App

In this lesson, you will learn about Java history, the types of Java programs, and what Java editions exist today. History Sun Microsystems Inc developed Java in 1991 by the Green Team, whose members were James Gosling, Mike Sheridan, and Patrick Naughton. First, it was developed as a pilot project of a simple language for programming smart home…

Read More Introduction to Java

class Test { public void print(String word) { System.out.println(word); } } class Test2 { public void callPrintMethod() { Test test = new Test(); test.print(“Hello”); } } class Test { public static void print(String word) { System.out.println(word); } public static void main(String[] args) { print(“Hello!”); // OK Test.print(“Hello!”); // OK } } class Test2 { public…

Read More Java Instance and Static Methods

public void methodName() { // code to be executed } public void methodName(int num, String data) { // code to be executed } methodName() methodName(10, “dataString”); class Test { public int sumNumbers(int a, int b) { int sum = a + b; return sum; } public static void main(String[] args) { int num1 = 10;…

Read More Methods in Java

type variableName = variableValue; public class Car { String brand; int maxSpeed; } class Car { String brand; int maxSpeed; public void printFields() { System.out.println(“BRAND: ” + brand); System.out.println(“MAX SPEED: ” + maxSpeed); } } public class Test { public static void main(String[] args) { Car ford = new Car(); ford.brand = “Ford”; ford.maxSpeed =…

Read More Variable in Java