[Go to site: main page, start]

0% found this document useful (0 votes)
6 views1 page

Java Programming Concepts and Examples

The document outlines various Java programming tasks and concepts, including writing programs for sorting city names, counting non-vowel characters, storing prime numbers, and explaining Java features. It also covers topics such as data types, variables, method overloading, constructors, classes, objects, and arrays. Additionally, it touches on the java.util package and specific classes like Scanner and Math.

Uploaded by

tamahesh411
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Java Programming Concepts and Examples

The document outlines various Java programming tasks and concepts, including writing programs for sorting city names, counting non-vowel characters, storing prime numbers, and explaining Java features. It also covers topics such as data types, variables, method overloading, constructors, classes, objects, and arrays. Additionally, it touches on the java.util package and specific classes like Scanner and Math.

Uploaded by

tamahesh411
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Write a java program to access N number of cities from users and display them in ascending
and descending order
2. Write a java program that display the number of n number of non vowels in the given words
3. Write a java program store/accept n number through command line and store all prime
numbers into an array and display elements of array
4. What is java? Explain atleast 5 features in java
5. Explain [Link] package and [Link] method
6. Explain scanner, math, date, class in java
7. What is data type and list primitive and non primitive data type.
8. What is variable and types of variable with example
9. What is method of overloading and overreading with example w
10. Difference between the constructor and method
11. Short note on class and object with an example
12. What is array explain its types

You might also like