Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Wednesday 20 December 2023

Programming with JavaScript


What you'll learn

Creating simple JavaScript codes.

Creating and manipulating objects and arrays.

Writing unit tests using Jest 

Join Free:Programming with JavaScript

There are 5 modules in this course

JavaScript is the programming language that powers the modern web. In this course, you will learn the basic concepts of web development with JavaScript. You will work with functions, objects, arrays, variables, data types, the HTML DOM, and much more. You will learn how to use JavaScript and discover interactive possibilities with modern JavaScript technologies. Finally, you will learn about the practice of testing code and how to write a unit test using Jest.

Introduction to Web Development with HTML, CSS, JavaScript


What you'll learn

Describe the Web Application Development Ecosystem and terminology like front-end developer, back-end, server-side, and full stack.

Identify the developer tools and integrated development environments (IDEs) used by web developers. 

Create and structure basic web pages using HTML and style them with CSS. 

Develop dynamic web pages with interactive features using JavaScript.

Join Free:Introduction to Web Development with HTML, CSS, JavaScript

There are 5 modules in this course

Want to take the first steps to become a Web Developer? This course will help you discover the languages, frameworks, and tools that you will need to create interactive and engaging websites right from the beginning.  

You will begin by learning about the roles of front-end, back-end, and full-stack developers and how they work together on development projects. Through this, you will also become familiar with the terminology and skills needed in your career as a web developer.  

Next, you will explore the languages needed for developing websites or applications. You will gain a thorough understanding of HTML and CSS and learn how a combination of both technologies can help developers create the structure and style of their websites.  

Finally, you will learn how JavaScript can make your webpages dynamic with features that include interactive forms, dynamic content modification, and sophisticated menu systems. 

By learning the fundamentals of HTML5, CSS, and JavaScript you will be able to combine them to:  

- create the basic structure of a website  
- create format and layout for web applications 
- enhance your website and create rich, interactive applications 
- increase user interactivity and enhance user experience 
- give your website a real wow factor! 

In this course you will practice what you learn with numerous hands-on labs. Lastly, you will complete a final project where you will create a webpage to showcase your skills and have a great addition to your portfolio!

Monday 30 October 2023

Build a Website using an API with HTML, JavaScript, and JSON (Free Course)



Provide ability for website users to look up 7 day weather forecasts for major European cities
Keep website visitors on the website longer
Increase online bookings

About this Project

In this project, you’ll support a European travel agency’s effort to increase booking by building a webpage that provides visitors with a 7-day weather forecast for major European cities. 

Accomplishing this task will require you to retrieve real-time weather data from an external service. In creating the webpage, you’ll request, process, and present the weather data using HTML, JavaScript, and JSON. 

There isn’t just one right approach or solution in this scenario, which means you can create a truly unique project that helps you stand out to employers.

ROLE: Software Developer

SKILLS: Web Design, Web Development, Cloud API


Function closures, asynchronous processing, REST API, and JSON handling with JavaScript

Present content with HTML tags 

Present content using classes with CSS

Format and syntax of JSON

JOIN Free - Build a Website using an API with HTML, JavaScript, and JSON

Friday 26 November 2021

Java Oops Concept

Java Oops Concept:

1.       Objects

2.       Class

3.       Inheritance

4.       Polymorphism

5.       Abstraction

6.       Encapsulation

Object :

Any entity that has state and behaviour is known as an Object.

An object can be defined as an instance of a class.

Example :

Object = {property 1: value1, property 2: value 2……property n: value n}

Class :

  • Collection of object is called class.
  • It is a logical entity
  • Class doesn’t consume any space.
  • A class can also be defined as a blueprint from which you can create an individual object.



Inheritance :

When one object acquires all the properties and behaviours of a parent object, it is known as inheritance.

It provides code reusability.

It is a used to achieve runtime polymorphism.


Polymorphism :

If one task is performed in different way, it is known as polymorphism.

In java we use method overloading and method overriding.


Abstraction :

Hinding internal details and showing functionality is known as abstraction.


Encapsulation :

Binding or wrapping code and data together into a single unit are known as encapsulation.

Naming Convention :

1.     Class

    . It should start with the uppercase letter.

  It should be a noun such as Color, Button, System, Thread, etc.
Use appropriate words, instead of acronyms.

Example :

Public class Employee {

//code snippet



2.     Interface

It should start with the uppercase letter.

It should be an adjective such as Runnable, Remote, ActionListener.

Use appropriate words, instead of acronyms.


Example :


Interface Printable


//code snippet


3.     Method

It should start with lowercase letter.
It should be a verb such as main(), print(), println().
If the name contains multiple words, start it with a lowercase letter followed by an uppercase letter such as actionPerformed().

Example :

Class Employee



Void get( )


//code snippet



4.     Variables

It should start with a lowercase letter such as id, name.

It should not start with the special characters like & (ampersand), $ (dollar), _ (underscore).

If the name contains multiple words, start it with the lowercase letter followed by an uppercase letter such as firstName, lastName.

Avoid using one-character variables such as x, y, z.

Example :

Class Employee


// variables

Int id;

Char name;


5.     Package

It should be a lowercase letter such as java, lang.
If the name contains multiple words, it should be separated by dots (.) such as java.util, java.lang.

Example :


Class employee





6.     Constant

It should be in uppercase letters such as RED, YELLOW.

If the name contains multiple words, it should be separated by an underscore(_) such as MAX_PRIORITY.

It may contain digits but not as the first letter.

Example :

Class Employee



Static final int MIN_Age = 18;



Object and class Example:

Public class Student {

Int id ;

String name;

Public static void main (String[] args)


Student s1 = new Student();





Syntax of class :

Class <class_name>{





Class Student {

Int rollno;

String name;

Void insertRecord(int r, String n)


Rollno = r;

Name = n;


Void display()


System.out.println(rollno+ “ “ +name);


Class StudentTest {

Public static void main (String[] args)


Student s1 = new student();

Student s2 = new Student();

S1.insertRecord(101, “Ram”);

S2.insertRecord(102, “Sita”);






Class Student {

Int id;

String name;


Class StudentTest {

Public static void main (String arg[])


Student s1 = new Student();

Student s2 = new student(); = 101; = “Ram”; = 102; = “Sita”;

System.out.println( “ “;

System.out.println( “ “;



Sunday 21 November 2021

Introduction to java | Java tutorials | History of Java | JDK | JVM | JRE | Different Types of Java Platforms

What is Java?

Java is a class-based object-oriented programming language.

It is the most popular programming language.

Building web and desktop applications.

The language of choice for Android programming.


Java Platform

Java Platform is a collection of programs that help programmers to develop and run Java programming applications efficiently.

It includes an execution engine, a compiler, and a set of libraries in it.

It is a set of computer software and specifications.

James Gosling developed the Java platform at Sun Microsystems, and the Oracle Corporation later acquired it.

Java is a multi-platform, object-oriented, and network-centric language. It is among the most used programming language. Java is also used as a computing platform.

What is Java used for?

It is used for developing Android Apps

Helps you to create Enterprise Software

Wide range of Mobile java Applications

Use for big data Analytics.

Java Programming of Hardware devices

Used for Server-Side Technologies like Apache, JBoss, GlassFish, etc.


History of Java Programming Language

The Java language was initially called OAK.

it was developed for handling portable devices and set-top boxes.

In 1995, Sun changed the name to “Java” and modified the language to take advantage of the burgeoning www (World Wide Web) development business.

Later, in 2009, Oracle Corporation acquired Sun Microsystems and took ownership of three key Sun software assets: Java, MySQL, and Solaris.

Java Versions

JDK Alpha and Beta


JDK 1.0

23rd Jan 1996


           15th Sep 2020 (latest Java Version)



Java Features

  • It is one of the easy-to-use programming languages to learn.
  • Write code once and run it on almost any computing platform.
  • Java is platform-independent. Some programs developed in one machine can be executed in another machine.
  • It is designed for building object-oriented applications.
  • It is a multi threaded language with automatic memory management.
  • It is created for the distributed environment of the Internet.
  • Facilitates distributed computing as its network-centric.

Java Development kit (JDK)


JDK is a software development environment used for making applets and Java applications.

Java developers can use it on Windows, macOS, Solaris, and Linux.

It is possible to install more than one JDK version on the same computer.

Why use JDK?


· JDK contains tools required to write Java programs and JRE to execute them.

· It includes a compiler, Java application launcher, Applet viewer, etc.

· Compiler converts code written in Java into byte code.

Java Virtual Machine (JVM):


Java Virtual Machine (JVM) is an engine that provides a runtime environment to drive the Java Code or applications.

It converts Java bytecode into machine language.

Why use JVM?

  • JVM provides a platform-independent way of executing Java source code.
  • It has numerous libraries, tools, and frameworks.
  • Once you run a Java program, you can run on any platform and save lots of time.
  • JVM comes with JIT (Just-in-Time) compiler that converts Java source code into low-level machine language. Hence, it runs faster than a regular application.

Java Runtime Environment (JRE)

JRE is a piece of software that is designed to run other software.

It contains the class libraries, loader class, and JVM.

If you are not a programmer, you don’t need to install JDK, but just JRE to run Java programs.

Why use JRE (Java Runtime Environment)

  • JRE contains class libraries, JVM, and other supporting files. It does not include any tool for Java development like a debugger, compiler, etc.
  • It uses important package classes like math, swing, util, lang, awt, and runtime libraries.
  • If you have to run Java applets, then JRE must be installed in your system.


Different Types of Java Platforms

1.       Java Platform, Standard Edition (Java SE):

Java SE’s API offers the Java programming language’s core functionality.

It defines all the basis of type and object to high-level classes.

It is used for networking, security, database access, graphical user interface (GUI) development, and XML parsing.


2.       Java Platform, Enterprise Edition (Java EE):

The Java EE platform offers an API and runtime environment for developing and running highly scalable, large-scale, multi-tiered, reliable, and secure network applications.


3.       Java Programming Language Platform, Micro Edition (Java ME):

The Java ME platform offers an API and a small-footprint virtual machine running Java programming language applications on small devices, like mobile phones.


API :  Application programming interface

An API is a set of programming code that enables data transmission between one software product and another. It also contains the terms of this data exchange.


4.       Java FX: 

JavaFX is a platform for developing rich internet applications using a lightweight user-interface API. It user hardware-accelerated graphics and media engines that help Java take advantage of higher-performance clients and a modern look-and-feel and high-level APIs for connecting to networked data sources.

First Program :


Class abc {

Public static void main(String args[]){

System.out.println(“Hello World”);




Popular Posts


AI (27) Android (24) AngularJS (1) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (118) C (77) C# (12) C++ (82) Course (62) Coursera (180) Cybersecurity (22) data management (11) Data Science (96) Data Strucures (6) Deep Learning (9) Django (6) Downloads (3) edx (2) Engineering (14) Excel (13) Factorial (1) Finance (6) flutter (1) FPL (17) Google (19) Hadoop (3) HTML&CSS (46) IBM (25) IoT (1) IS (25) Java (92) Leet Code (4) Machine Learning (44) Meta (18) MICHIGAN (5) microsoft (4) Pandas (3) PHP (20) Projects (29) Python (757) Python Coding Challenge (238) Questions (2) R (70) React (6) Scripting (1) security (3) Selenium Webdriver (2) Software (17) SQL (40) UX Research (1) web application (8)


Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses