Learn JAVA

Learn JAVA Java is a high-level programming language originally developed by Sun Microsystems and released in 1995.

18/01/2026

Hello World Print in Java

14/01/2026

Learn Java - Hello World Print

Happy New Year 2026 🎉🎊
31/12/2025

Happy New Year 2026 🎉🎊

AWS CLI - ConfigurationCheck AWS CLI version - # aws --versionif not installed, follow below command to install aws on l...
05/11/2025

AWS CLI - Configuration

Check AWS CLI version -
# aws --version

if not installed, follow below command to install aws on local computer
# curl "https://lnkd.in/dmiVfMeu" -o "awscliv2.zip"
# unzip awscliv2.zip
# sudo ./aws/install

Check version again.

Configure AWS CLI -
Step - 1: (Access Key)
=> Create IAM User from AWS Console. skip if already there a User.
=> Create a Access Key under IAM User.
=> Store both keys (Access Key ID and Secret Access Key).

Step - 2: (Configuration)
Execute command for configuring AWS CLI
# aws configure [enter; few arguments need to enter here]
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:

Configuration done.

Test any command for checking AWS CLI is working -
Here is a simple command for checking availability zones under us-east-1 region
# aws ec2 describe-availability-zones --region us-east-1

, , ,

Prevention - SQL Injection
30/10/2025

Prevention - SQL Injection

Validation at Record - Java ,
20/10/2025

Validation at Record - Java

,

Normal class vs Record 😊Java 17 and leter, Record is includedRecord --Automatically generates:- Private final fields: na...
18/10/2025

Normal class vs Record 😊
Java 17 and leter, Record is included

Record --
Automatically generates:
- Private final fields: name and age
- Public constructor with parameters (String name, int age)
- Accessor methods (getters) named exactly like the fields: name(), age()
equals(), hashCode(), toString() methods

Can be customized:
- validations
- cumtom method
- override method

Important Points:
- Immutable: Fields are final; you cannot change them after creation.
- Cannot extend other classes (but can implement interfaces).
- Good for DTOs (Data Transfer Objects), API responses, value objects.

Class --
Manually Write:
- Constructors, getters, setters, equals(), hashCode(), toString()
- Boilerplate coding

Important Points:
- Any type, can be mutable or immutable
- General-purpose OOP modeling (business logic, entities, mutable state).
- Can extend other classes, implement interfaces

Class and Record are to be used based on business logic

, ,

19/09/2024

Any basic learners
Here?

A Great Victory ✌️ A Big Achievement Congratulations!!!Bangladesh 🇧🇩 Cricket Team 🏏 1st Test won 🏆 against Pakistan 🇵🇰
25/08/2024

A Great Victory ✌️
A Big Achievement
Congratulations!!!
Bangladesh 🇧🇩 Cricket Team 🏏
1st Test won 🏆 against Pakistan 🇵🇰

Support Flood in Bangladesh 😢😢
22/08/2024

Support
Flood in Bangladesh 😢😢

Address

Mirpur
Dhaka
1216

Alerts

Be the first to know and let us send you an email when Learn JAVA posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Learn JAVA:

Share