Basic Exercises Part-I

Basic Exercises Part-I Write a Java program to print ‘Hello’ on screen and then print your name on a separate line.Expected Output :HelloGaurav Dixit Click me to see the solution Write a Java program to print the sum of two numbers.Test Data:74 + 36Expected Output :110 Click me to see the solution Write a Java … Read more

Java Exercises

Java Practice Exercises with Solution Basic Exercises Part-IBasic Exercises Part-IIData Types ExercisesConditional Statement ExercisesArrayStringDate TimeMethodsNumbersInput-Output-File-SystemCollectionMathSortingSearchRegular Expression

Python List

Python List A list contains items separated by commas and enclosed within square brackets ([]). To some extent, lists are similar to arrays in C. One difference between them is that all the items belonging to a list can be of different data type. The values stored in a list can be accessed using the … Read more