Programs
- Calculate Area of a Circle.
- Calculate Area of a Rectangle.
- Swap the values of two Numbers.
- Swap the values of two Numbers without using Third variable
- Use the Shift operators and display the result.
- Calculate Factorial of a Number.
- Calculate Factorial of a Number using Recursion.
- Reverse a Number and display it.
- Implement a Bubble Sort.
- Search for a particular element in Array, in case it is found, exit from loop and display the result (use break)
- Display all elements of an array from 1-10 except any one number, user can decide that that number (use continue).
- Create a new Text file and write some data into it.
- Read an existing Text file and display the content in console.
- Create a Vector having Integer objects. Copy the Vector elements into an array and display the array elements.
- Create a Hash Map to store the Asia Pacific countries and their capitals. display the capital based on the country name.
- Calculate the difference in days between two dates.
- Sort the items of a Set and display the sorted elements.
- Display the current user name, current OS version, java home using java code.
- Display the Currency symbol of countries India, UK, USA, England and Japan.
- Implement i18N in java. (Use ResourceBundle)
- get host name
- Get Month from Date
- Get IP Address Example
- Get Memory Size
- Get Method
- Java String Occurrence in a String
- String sort() Method
- explanation about the equalsIgnoreCase( ) method of string class.
- Model Class
- user defined exception class.
- JApplet Sample program for creating combobox, radio button, label, text box,check box,slide bar.
- calculate the mean and standard deviation of a set of n variables.
- create thread.
- How to count LOC of a program.
- Create a textBox using jframe
- create combobox using jframe
- Count the Number of Classes and Methods contains in a program.
Tutorials Related to Java
- Classes and Objects in Java.
- Identifying Object-Oriented Classes.
- Basic Java Syntax.
- Math Class in Java.
- Object-Oriented Programming Concepts.
- Overriding Java Explanation with example
Post a Comment