What you'll learn
Creating simple JavaScript codes.
Creating and manipulating objects and arrays.
Writing unit tests using Jest
Python Coding December 20, 2023 Coursera, Java, Meta No comments
Creating simple JavaScript codes.
Creating and manipulating objects and arrays.
Writing unit tests using Jest
Python Coding December 20, 2023 Coursera, HTML&CSS, IBM, Java No comments
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.
Python Coding October 30, 2023 HTML&CSS, Java No comments
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
PREREQUISITES:
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
Irawen November 26, 2021 Java No comments
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 :
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
{
//method
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 :
Package com.abc.xyz;
Class employee
{
//code
}
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
{
//constant
Static final int MIN_Age = 18;
//code
}
Object and class Example:
Public class Student {
Int id ;
String name;
Public static void main (String[] args)
{
Student s1 = new Student();
System.out.println(s1.id);
System.out.println(s1.name);
}
}
Syntax of class :
Class <class_name>{
Field;
Method;
}
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”);
S1.display();
S2.display();
}
}
Class Student {
Int id;
String name;
}
Class StudentTest {
Public static void main (String arg[])
{
Student s1 = new Student();
Student s2 = new student();
S1.id = 101;
S1.name = “Ram”;
S2.id = 102;
S2.name = “Sita”;
System.out.println(s1.id+ “ “ s1.name);
System.out.println(s2.id+ “ “ s2.name);
}
}
Irawen November 21, 2021 Java No comments
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.
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.
JDK Alpha and Beta |
1995 |
||
JDK 1.0 |
23rd Jan 1996 |
||
|
|
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.
· 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) 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?
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)
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”);
}
}
Free Books Python Programming for Beginnershttps://t.co/uzyTwE2B9O
— Python Coding (@clcoding) September 11, 2023
Top 10 Python Data Science book
— Python Coding (@clcoding) July 9, 2023
🧵:
Web Development using Python
— Python Coding (@clcoding) December 2, 2023
🧵: