import java.util.Scanner; public class ReadAndDisplayCharacters { public static void main(String[] args) { // Create a Scanner object to read user input Scanner scanner = new Scanner(System.in); // Prompt the user to enter a string System.out.print("Enter a string: "); // Read the user's input as a string String userInput = scanner.nextLine(); // Display individual characters of the entered string System.out.println("Individual characters:"); for (int i = 0; i < userInput.length(); i++) { System.out.println(userInput.charAt(i)); } // Close the scanner to release resources scanner.close(); } } (code-box)
Learn. Practice. Prepare.
Get Hired by Top MNCs
Industry-focused training, real company test practice, premium mock tests, and career tools - Everything you need to build a successful IT career.
Gold Standard
100% Practical Tech Training
Referrals
Placement Assistance
MNC Prep
MNC Mock Interview Drills
Our Career Acceleration Ecosystem
A modular, 5-step strategic framework mapping career growth from learning paths to top MNC placements.
Practical Learning
Master high-demand tech stacks via hands-on development exercises.
Mock Assessments
Rigorous aptitude log drills, logical analytics, and custom technical metrics training sheets.
Portfolio Assembly
Engine optimization runs to produce ATS-compliant resumes and map robust code architectures.
Hiring Simulators
Pass real company tests (TCS, Infosys, Wipro, Accenture) inside authentic custom web environments.
Corporate Placement
Secure verified off-campus recruitment pipelines and join premium MNC engineering teams.
Write a JAVA program to read a String value from user and display its individual characters? | StudyEcart | CODE003
Popular Placement Programs
Explore our comprehensive training programs tailored to master high-demand roles and pass strict MNC evaluation parameters.
Powerful Placement Tools Suite
Accelerate preparation with our proprietary algorithm-based interactive resources.
ATS Resume Builder
Create ATS friendly resumes in minutes
Resume Analyzer
Get AI-powered resume review
Salary Calculator
Calculate in-hand salary instantly
Interview Questions
Prepare for HR and Tech panels
Career Roadmap
Step-by-step career path guidelines
Company Specific Test Simulators
Practice real company hiring assessments and boost your selection chances
Latest Placement Opportunities
Verified off-campus drives, internships, and direct referral postings matching modern IT requirements.
5000+
Students Trained
50+
Certified Trainers
50+
Partner Colleges
95%+
Placement Rate
"StudyEcart helped me from learning to getting placed in my dream company. The mock tests and company simulators are real game-changers!"
— Rohit Sharma
Placed at Infosys
"The internship program was completely practical. Working on real-world projects helped me clear my technical coding interview with Accenture in one go!"
— Anjali Sen
Placed at Accenture
"StudyEcart's company simulators are amazingly close to real assessment interfaces. The logic, format, and timer prepared me perfectly for the TCS NQT."
— Vijay Verma
Placed at TCS
"I highly recommend StudyEcart's DevOps course. The live container deployment drills and CI/CD pipelines let me clear challenging interview panels."
— Rajesh Reddy
Placed at Wipro
"From writing raw algorithms to building responsive applications, the mentorship at StudyEcart has completely reshaped my technical career foundations!"
— Rahul Nair
Placed at Capgemini
Success Stories
5000+ Students
Placed in Top MNCs
