1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | package in.studyecart.sorting.array; import java.util.Arrays; import java.util.Scanner; public class NumSortArray { public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.println(">> Array -Number -Sorting <<"); System.out.println("\nPlease Enter size of array:"); int asize=input.nextInt(); int arr[]=new int[asize]; //Scanning the numbers from user console area or you can directly take hard-code elements //like int arr[]= {323,454,656,768,678,980,345,620}; System.out.println("Please Enter "+asize +" of Elements into array: "); for(int i=0;i<arr.length;i++) { arr[i]=input.nextInt(); } //Using Arrays class static method sort() from java.util package; Arrays.sort(arr); //Ascending Order System.out.println("\nAfter Sorting arr[]:"); for(int i=0;i<arr.length;i++) { System.out.println(arr[i]); } } } |
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.
Java Program to Sort(Ascending) an Given Array of Integers | Using Arrays.sort() | StudyEcart | Sorting003
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
