Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.
Java is widely used by developers due to its ease of programming and execution. It allows for the creation of applications that can run on a single device or be distributed across multiple devices within a network. The fact that Java code can be written once and run anywhere at any time is another significant factor contributing to its popularity.
- Eclipse
- IntelliJ IDEA
- BlueJ
- MyEclipse
- Xcode
- Apache NetBeans
But I used IntelliJ (Community Edition) for executing this problems.
-
Print prime numbers form 2 to 100.
-
Write a program that will count number of notes from given array:
[1000,500,200,100,50,20,10,5,2,1]
Input: 562
Output:
500 1
50 1
10 1
2 1
-
Find out sum of digits of a number:
Input: 152
Output: 8
-
Count Vowels and consonants from a word:
Input: Dhaka
Output: Vowel: 2, Consonant: 3
-
Encrypt word when A=F:
Input: Apple
Output: Fuuqj
-
Create a program which will take input from users for registration and save the info to a json file.
The system will require following user info: Full Name, email, password, address, mobile no.