Table of Contents
All Java Program in One Place
🔒 Please log in to unlock this course.
ONLINE CLASSES BY RUMMAN ANSARI
Stuck on a Java Program? Ask Your Doubt Directly
Book a one-to-one session to get your questions answered, or message on WhatsApp for live online classes in Java Programming.
- 1:1 Mentoring
- Doubt Clearing
- Interview Preparation
Related Assignments
Assignment 1
Parameterized Constructor, constructor present in same class, with method
Locked. Enroll to open this assignment.
Assignment 2
char data type in java
Locked. Enroll to open this assignment.
Assignment 3
parseInt() Method, parse Decimal to int Decimal in java
Locked. Enroll to open this assignment.
Assignment 4
Conversion (primitive data type) int to (wrapper class) Integer Number Object…
Locked. Enroll to open this assignment.
Assignment 5
Conversion (wrapper class) Float Number Object to (primitive data type) long
Locked. Enroll to open this assignment.
Assignment 6
for loop in java, print 10 to 19
Locked. Enroll to open this assignment.
Assignment 7
Assignment Operator Example in java
Locked. Enroll to open this assignment.
Assignment 8
Java Program to Demonstrate the int Data Type
Locked. Enroll to open this assignment.
Assignment 9
Finding Maximum and Minimum in java
Locked. Enroll to open this assignment.
Assignment 10
Java Code to Compare Three Variables
Locked. Enroll to open this assignment.
Assignment 11
Bubble Sort Implementation in Java
Locked. Enroll to open this assignment.
Assignment 12
Instance variable and static variable comparison using program
Locked. Enroll to open this assignment.
Assignment 13
Write a Java program to get the character (Unicode code point) before the…
Locked. Enroll to open this assignment.
Assignment 14
If a class is declared abstract, it cannot be instantiated.
Locked. Enroll to open this assignment.
Assignment 15
Hierarchical Inheritance in java
Locked. Enroll to open this assignment.
Assignment 16
Variable Hiding in java, intro for this keyword
Locked. Enroll to open this assignment.
Assignment 17
toLowerCase() in java
Locked. Enroll to open this assignment.
Assignment 18
ceil() Method in java
Locked. Enroll to open this assignment.
Assignment 19
equals() Method in java wrapper class Example 2
Locked. Enroll to open this assignment.
Assignment 20
Conversion (wrapper class) Byte Number Object to (primitive data type) float
Locked. Enroll to open this assignment.
Assignment 21
Labeled for loop in java
Locked. Enroll to open this assignment.
Assignment 22
If-else-if ladder Statement in java, Marksheet grade card.
Locked. Enroll to open this assignment.
Assignment 23
Java Program to Demonstrate Octal Integer Literals
Locked. Enroll to open this assignment.
Assignment 24
Write a program to accept name and total marks of N number of students in two…
Locked. Enroll to open this assignment.
Assignment 25
A special two-digit number is such that when the sum of its digits is added to…
Locked. Enroll to open this assignment.
Assignment 26
Calculate LCM using GCD
Locked. Enroll to open this assignment.
Assignment 27
Write a Java program to create a new String object with the contents of a…
Locked. Enroll to open this assignment.
Assignment 28
Interface Example,Real life ,class implementation Like hierarchical inheritance
Locked. Enroll to open this assignment.
Assignment 29
Runtime Polymorphism ( method overriding ) with Multilevel Inheritance
Locked. Enroll to open this assignment.
Assignment 30
this() constructor to invoke current class constructor
Locked. Enroll to open this assignment.
Assignment 31
Object and Class Example: main within class
Locked. Enroll to open this assignment.
Assignment 32
pow() Method in java
Locked. Enroll to open this assignment.
Assignment 33
toString() Method in java conversion Character to String
Locked. Enroll to open this assignment.
Assignment 34
Conversion (wrapper class) Long Number Object to (primitive data type) long
Locked. Enroll to open this assignment.
Assignment 35
Integer Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 36
Switch Statement with break in java, Select a day from week by switch statement
Locked. Enroll to open this assignment.
Assignment 37
Java Program to Demonstrate String Literals
Locked. Enroll to open this assignment.
Assignment 38
Write a short program to find whether the given character is a digit or a…
Locked. Enroll to open this assignment.
Assignment 39
Question 5: Write a program to input name and percentage of 35 students of…
Locked. Enroll to open this assignment.
Assignment 40
Design a class to overload a function Joystring( ) as follows:
Locked. Enroll to open this assignment.
Assignment 41
Define a class Student with the following specifications:
Locked. Enroll to open this assignment.
Assignment 42
Write a Java program to get the index of all the characters of the alphabet.…
Locked. Enroll to open this assignment.
Assignment 43
Program to display the fibonacci series based on the user input
Locked. Enroll to open this assignment.
Assignment 44
final method: If you make any method as final, you cannot override it.
Locked. Enroll to open this assignment.
Assignment 45
prove that this keyword refers to the current class instance variable
Locked. Enroll to open this assignment.
Assignment 46
ways to create an object in Java Example 2
Locked. Enroll to open this assignment.
Assignment 47
atan2() Method in java
Locked. Enroll to open this assignment.
Assignment 48
parseDouble() Method in java
Locked. Enroll to open this assignment.
Assignment 49
Conversion (wrapper class) Double Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 50
Conversion Integer Number Object to primitive data type long
Locked. Enroll to open this assignment.
Assignment 51
Continue statement in While loop
Locked. Enroll to open this assignment.
Assignment 52
Shift Operator Example: Left Shift in Java
Locked. Enroll to open this assignment.
Assignment 53
My First Program in Java: Hello World
Locked. Enroll to open this assignment.
Assignment 54
Define a class to accept a String and print the number of digits, alphabets and…
Locked. Enroll to open this assignment.
Assignment 55
Write a program to initialize the seven Wonders of the World along with their…
Locked. Enroll to open this assignment.
Assignment 56
Design a class to overload a function compare() as follows:
Locked. Enroll to open this assignment.
Assignment 57
Write a Java program to get a substring of a given string between two specified…
Locked. Enroll to open this assignment.
Assignment 58
how to create, initialize, and process arrays
Locked. Enroll to open this assignment.
Assignment 59
instanceof operator, checking by assigning null value
Locked. Enroll to open this assignment.
Assignment 60
static Method and variable in java, static variable increment using methods
Locked. Enroll to open this assignment.
Assignment 61
parseInt() Method, parse Binary to int Decimal in java
Locked. Enroll to open this assignment.
Assignment 62
Conversion (primitive data type) int to (wrapper class) Integer Number Object…
Locked. Enroll to open this assignment.
Assignment 63
Conversion (wrapper class) Float Number Object to (primitive data type) short
Locked. Enroll to open this assignment.
Assignment 64
for loop in java
Locked. Enroll to open this assignment.
Assignment 65
Ternary Operator Example 2 in java
Locked. Enroll to open this assignment.
Assignment 66
Java Program to Demonstrate the short Data Type
Locked. Enroll to open this assignment.
Assignment 67
Example 4 — Valid case 2 + 3:
Locked. Enroll to open this assignment.
Assignment 68
Finding Sum & Average in java
Locked. Enroll to open this assignment.
Assignment 69
Swap two values inside a array using Java
Locked. Enroll to open this assignment.
Assignment 70
Write a program to accept the names of 10 cities in a single dimensional string…
Locked. Enroll to open this assignment.
Assignment 71
Instance variable and static variable comparison using program
Locked. Enroll to open this assignment.
Assignment 72
Write a Java program to get the character (Unicode code point) at the given…
Locked. Enroll to open this assignment.
Assignment 73
If a class has at least one abstract method, then the class must be declared…
Locked. Enroll to open this assignment.
Assignment 74
Multilevel Inheritance in java
Locked. Enroll to open this assignment.
Assignment 75
Constructor Chaining in Java
Locked. Enroll to open this assignment.
Assignment 76
toUpperCase() in java
Locked. Enroll to open this assignment.
Assignment 77
abs() Method in java Example 2
Locked. Enroll to open this assignment.
Assignment 78
equals() Method in java wrapper class
Locked. Enroll to open this assignment.
Assignment 79
Conversion (wrapper class) Byte Number Object to (primitive data type) long
Locked. Enroll to open this assignment.
Assignment 80
Continue statement in for each loop in java
Locked. Enroll to open this assignment.
Assignment 81
If-else Statement in java, odd or even ?
Locked. Enroll to open this assignment.
Assignment 82
Instance Variable in Java Programming
Locked. Enroll to open this assignment.
Assignment 83
Write a menu driven program to display the pattern as per user’s choice.
Locked. Enroll to open this assignment.
Assignment 84
Define a class named movieMagic with the following description:
Locked. Enroll to open this assignment.
Assignment 85
LCM using while Loop and if Statement
Locked. Enroll to open this assignment.
Assignment 86
Write a Java program to compare a given string to the specified string buffer.
Locked. Enroll to open this assignment.
Assignment 87
Interface Example, a class implements Like hierarchical inheritance
Locked. Enroll to open this assignment.
Assignment 88
Note:Runtime polymorphism can't be achieved by data members.
Locked. Enroll to open this assignment.
Assignment 89
this keyword to invoke current class method
Locked. Enroll to open this assignment.
Assignment 90
Class and Object
Locked. Enroll to open this assignment.
Assignment 91
log() Method in java
Locked. Enroll to open this assignment.
Assignment 92
toString() Method in java conversion Boolean to String
Locked. Enroll to open this assignment.
Assignment 93
Conversion (wrapper class) Short Number Object to (primitive data type) double
Locked. Enroll to open this assignment.
Assignment 94
Short Wrapper class in Java Example 2
Locked. Enroll to open this assignment.
Assignment 95
Switch Statement without break in java
Locked. Enroll to open this assignment.
Assignment 96
Java Program to Demonstrate Character Literals
Locked. Enroll to open this assignment.
Assignment 97
Write a short program to input a digit and print it in words.
Locked. Enroll to open this assignment.
Assignment 98
Question 4
Locked. Enroll to open this assignment.
Assignment 99
Write a program to input and store roll numbers, names and marks in 3 subjects…
Locked. Enroll to open this assignment.
Assignment 100
Write a program to perform binary search on a list of integers given below to…
Locked. Enroll to open this assignment.
Assignment 101
Write a Java program to create a unique identifier of a given string.
Locked. Enroll to open this assignment.
Assignment 102
Java program to check armstrong number
Locked. Enroll to open this assignment.
Assignment 103
final variable: you can not change the value of final variable
Locked. Enroll to open this assignment.
Assignment 104
this keyword can be used to return current class instance
Locked. Enroll to open this assignment.
Assignment 105
ways to create an object in Java Example 1
Locked. Enroll to open this assignment.
Assignment 106
atan() Method in java
Locked. Enroll to open this assignment.
Assignment 107
parseInt() Method in java
Locked. Enroll to open this assignment.
Assignment 108
Conversion (wrapper class) Double Number Object to (primitive data type) float
Locked. Enroll to open this assignment.
Assignment 109
Conversion Integer Number Object to primitive data type double
Locked. Enroll to open this assignment.
Assignment 110
Break statement in While loop
Locked. Enroll to open this assignment.
Assignment 111
Arithmetic Operator Example: Expression in Java
Locked. Enroll to open this assignment.
Assignment 112
Write a Java program to print every integer between 1 and n divisible by m.…
Locked. Enroll to open this assignment.
Assignment 113
Define a class to overload the function print as follows: void print() - to…
Locked. Enroll to open this assignment.
Assignment 114
Write a program to accept a number and check and display whether it is…
Locked. Enroll to open this assignment.
Assignment 115
Write a program to accept a word and convert it into lowercase if it is in…
Locked. Enroll to open this assignment.
Assignment 116
Write a Java program to check whether a given string starts with the contents…
Locked. Enroll to open this assignment.
Assignment 117
An array example in java
Locked. Enroll to open this assignment.
Assignment 118
instanceof operator, checking in child class
Locked. Enroll to open this assignment.
Assignment 119
static Method and variable in java, Important Example
Locked. Enroll to open this assignment.
Assignment 120
Parameterized Constructor, constructor present in same class
Locked. Enroll to open this assignment.
Assignment 121
character in java
Locked. Enroll to open this assignment.
Assignment 122
Conversion (wrapper class) Float Number Object to (primitive data type) byte
Locked. Enroll to open this assignment.
Assignment 123
Continue statement in do while loop in java
Locked. Enroll to open this assignment.
Assignment 124
Ternary Operator Example in java
Locked. Enroll to open this assignment.
Assignment 125
Java Program to Demonstrate the byte Data Type
Locked. Enroll to open this assignment.
Assignment 126
Example 3 — Valid switch case 3
Locked. Enroll to open this assignment.
Assignment 127
Traversing an Array in java
Locked. Enroll to open this assignment.
Assignment 128
Write a program to input forty words in an array. Arrange these words in…
Locked. Enroll to open this assignment.
Assignment 129
Using a switch statement, write a menu driven program to:
Locked. Enroll to open this assignment.
Assignment 130
Instance variable and static variable comparison using program
Locked. Enroll to open this assignment.
Assignment 131
Write a Java program to get the character at the given index within the String.
Locked. Enroll to open this assignment.
Assignment 132
Abstract classes may not contain abstract methods
Locked. Enroll to open this assignment.
Assignment 133
Single Inheritance in java Example 2
Locked. Enroll to open this assignment.
Assignment 134
Copy of a Constructor, without Constructor by using object
Locked. Enroll to open this assignment.
Assignment 135
isUpperCase() in java
Locked. Enroll to open this assignment.
Assignment 136
abs() Method in java
Locked. Enroll to open this assignment.
Assignment 137
compareTo() Method in java wrapper class Example 2
Locked. Enroll to open this assignment.
Assignment 138
Conversion (wrapper class) Byte Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 139
Break statement in for each loop in java
Locked. Enroll to open this assignment.
Assignment 140
If-else Statement in java
Locked. Enroll to open this assignment.
Assignment 141
Java Program to Demonstrate Variable Declaration and Initialization
Locked. Enroll to open this assignment.
Assignment 142
Example 3: Double Array: Write a Java program to update array elements at three…
Locked. Enroll to open this assignment.
Assignment 143
Design a class to overload a function volume() as follows:
Locked. Enroll to open this assignment.
Assignment 144
Java Menu-Driven Program Using switch to Check Composite Number and Find…
Locked. Enroll to open this assignment.
Assignment 145
Square Pattern in Java
Locked. Enroll to open this assignment.
Assignment 146
Write a Java program to compare a given string to the specified character…
Locked. Enroll to open this assignment.
Assignment 147
Interface Example, a class implements an interface.
Locked. Enroll to open this assignment.
Assignment 148
Java Runtime Polymorphism Example: Animal
Locked. Enroll to open this assignment.
Assignment 149
Solution of the previous problem,different name instance variable and local…
Locked. Enroll to open this assignment.
Assignment 150
Method in java, Passing Parameters by Value
Locked. Enroll to open this assignment.
Assignment 151
exp() Method in java
Locked. Enroll to open this assignment.
Assignment 152
toString() Method in java conversion Float to String
Locked. Enroll to open this assignment.
Assignment 153
Conversion (wrapper class) Short Number Object to (primitive data type) float
Locked. Enroll to open this assignment.
Assignment 154
Short Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 155
Switch Statement in java Program
Locked. Enroll to open this assignment.
Assignment 156
Java Program to Demonstrate Boolean Literals
Locked. Enroll to open this assignment.
Assignment 157
During a special sale at a store, a 10% discount is taken on purchases over ?…
Locked. Enroll to open this assignment.
Assignment 158
A tech number has even number of digits. If the number is split in two equal…
Locked. Enroll to open this assignment.
Assignment 159
Write two separate programs to generate the following patterns using iteration…
Locked. Enroll to open this assignment.
Assignment 160
Count the number of letters, digits and special symbol using java program
Locked. Enroll to open this assignment.
Assignment 161
Write a Java program to get the contents of a given string as a character array.
Locked. Enroll to open this assignment.
Assignment 162
Java Inheritance Example
Locked. Enroll to open this assignment.
Assignment 163
super() keyword important behavior
Locked. Enroll to open this assignment.
Assignment 164
this keyword to pass as an argument in the method
Locked. Enroll to open this assignment.
Assignment 165
Class and Object Example: Area of Rectangle
Locked. Enroll to open this assignment.
Assignment 166
acos() Method in java
Locked. Enroll to open this assignment.
Assignment 167
compareTo() Method with empty string in java
Locked. Enroll to open this assignment.
Assignment 168
Conversion (wrapper class) Double Number Object to (primitive data type) byte
Locked. Enroll to open this assignment.
Assignment 169
Conversion Integer Number Object to primitive data type byte
Locked. Enroll to open this assignment.
Assignment 170
While Loop Example, print 1 to 8 different way
Locked. Enroll to open this assignment.
Assignment 171
Arithmetic Operator Example in java
Locked. Enroll to open this assignment.
Assignment 172
Write a java program to print fibonacci series... The number of terms required,…
Locked. Enroll to open this assignment.
Assignment 173
Define a class to accept 10 characters from a user. Using bubble sort technique…
Locked. Enroll to open this assignment.
Assignment 174
Design a class to overload a function sumSeries() as follows:
Locked. Enroll to open this assignment.
Assignment 175
Write a program to input a number and print whether the number is a special…
Locked. Enroll to open this assignment.
Assignment 176
Write a Java program to replace each substring of a given string that matches…
Locked. Enroll to open this assignment.
Assignment 177
Example of single dimensional java array
Locked. Enroll to open this assignment.
Assignment 178
instanceof operator, checking in current class
Locked. Enroll to open this assignment.
Assignment 179
static Method and variable in java, how to access methods and variables
Locked. Enroll to open this assignment.
Assignment 180
Parameterized Constructor, constructor present in another class
Locked. Enroll to open this assignment.
Assignment 181
toBinaryString() Method in java, Without using predefined method
Locked. Enroll to open this assignment.
Assignment 182
parseInt() Method, parse Integer Octal to int Deciaml in java
Locked. Enroll to open this assignment.
Assignment 183
Conversion (primitive data type) int to (wrapper class) Integer Number Object…
Locked. Enroll to open this assignment.
Assignment 184
OR Operator Example: Logical || and Bitwise | in java
Locked. Enroll to open this assignment.
Assignment 185
Documentation Comment in java
Locked. Enroll to open this assignment.
Assignment 186
Example 2 — Valid switch case 2
Locked. Enroll to open this assignment.
Assignment 187
Updating Array Elements in java
Locked. Enroll to open this assignment.
Assignment 188
Design a class to overload a function check( ) as follows:
Locked. Enroll to open this assignment.
Assignment 189
Design a class to overload a function polygon() as follows:
Locked. Enroll to open this assignment.
Assignment 190
Write a Java program to trim any leading or trailing whitespace from a given…
Locked. Enroll to open this assignment.
Assignment 191
Java program to extract words from a given sentence
Locked. Enroll to open this assignment.
Assignment 192
Abstract classes may contain abstract methods, To use an abstract class, you…
Locked. Enroll to open this assignment.
Assignment 193
Single Inheritance in java
Locked. Enroll to open this assignment.
Assignment 194
Copy of a Constructor, By constructor and object
Locked. Enroll to open this assignment.
Assignment 195
isWhitespace() in java
Locked. Enroll to open this assignment.
Assignment 196
parseByte() Method, Number System Conversion in java
Locked. Enroll to open this assignment.
Assignment 197
compareTo() Method in java
Locked. Enroll to open this assignment.
Assignment 198
Conversion (wrapper class) Byte Number Object to (primitive data type) short
Locked. Enroll to open this assignment.
Assignment 199
for each loop in java
Locked. Enroll to open this assignment.
Assignment 200
isLowerCase() in java
Locked. Enroll to open this assignment.
Assignment 201
Java Program to Demonstrate the char Data Type
Locked. Enroll to open this assignment.
Assignment 202
Example 2: String Array: Write a Java program to update array elements at three…
Locked. Enroll to open this assignment.
Assignment 203
Write a program in Java to accept a string in lower case and change the first…
Locked. Enroll to open this assignment.
Assignment 204
Java Program to Overload series() Method for Sum of Harmonic and Power Series
Locked. Enroll to open this assignment.
Assignment 205
Simple Triangle Pattern in Java.
Locked. Enroll to open this assignment.
Assignment 206
Write a Java program to concatenate a given string to the end of another string.
Locked. Enroll to open this assignment.
Assignment 207
If you are extending any abstract class that have abstract method, you must…
Locked. Enroll to open this assignment.
Assignment 208
Java Runtime Polymorphism Example: Profession
Locked. Enroll to open this assignment.
Assignment 209
Solution of the previous problem, this keyword to refer current class instance…
Locked. Enroll to open this assignment.
Assignment 210
Method in java, Simple void method Example other than main
Locked. Enroll to open this assignment.
Assignment 211
max() Method in java
Locked. Enroll to open this assignment.
Assignment 212
toString() Method in java conversion Long to String
Locked. Enroll to open this assignment.
Assignment 213
Conversion (wrapper class) Short Number Object to (primitive data type) long
Locked. Enroll to open this assignment.
Assignment 214
Byte Wrapper class in Java Example 2
Locked. Enroll to open this assignment.
Assignment 215
Condition Checking inside if (AND)
Locked. Enroll to open this assignment.
Assignment 216
Java Program to Demonstrate Double Literals
Locked. Enroll to open this assignment.
Assignment 217
Given three numbers A, B and C, write a program to write their values in…
Locked. Enroll to open this assignment.
Assignment 218
Write a program to input a sentence and convert it into uppercase and count and…
Locked. Enroll to open this assignment.
Assignment 219
Define a class called ParkingLot with the following description: Instance…
Locked. Enroll to open this assignment.
Assignment 220
classify a character as a letter, digit, or special symbol using Java
Locked. Enroll to open this assignment.
Assignment 221
Write a Java program to get the contents of a given string as a byte array.
Locked. Enroll to open this assignment.
Assignment 222
Interface inheritance
Locked. Enroll to open this assignment.
Assignment 223
super() is added in each class constructor automatically by compiler if there…
Locked. Enroll to open this assignment.
Assignment 224
Note:Call to this() must be the first statement in constructor.
Locked. Enroll to open this assignment.
Assignment 225
Class and Object Example: Initialization through constructor
Locked. Enroll to open this assignment.
Assignment 226
asin() Method in java
Locked. Enroll to open this assignment.
Assignment 227
compareTo() Method in java
Locked. Enroll to open this assignment.
Assignment 228
Conversion (wrapper class) Double Number Object to (primitive data type) short
Locked. Enroll to open this assignment.
Assignment 229
Number Class in java, Boxing and un-boxing
Locked. Enroll to open this assignment.
Assignment 230
While Loop Example, print 10 to 19
Locked. Enroll to open this assignment.
Assignment 231
Java Unary Operator Example: ~ and !
Locked. Enroll to open this assignment.
Assignment 232
Write a java program to print table of a given number.
Locked. Enroll to open this assignment.
Assignment 233
Design a class with the following specifications:
Locked. Enroll to open this assignment.
Assignment 234
Special words are those words which start and end with the same letter.Example:…
Locked. Enroll to open this assignment.
Assignment 235
Define a class called MoBike with the following description:
Locked. Enroll to open this assignment.
Assignment 236
Write a Java program to replace all the 'd' characters with 'f' characters.
Locked. Enroll to open this assignment.
Assignment 237
Basic programming of array using Java
Locked. Enroll to open this assignment.
Assignment 238
final parameter:If you declare any parameter as final, you cannot change the…
Locked. Enroll to open this assignment.
Assignment 239
static and instance variable, how to access
Locked. Enroll to open this assignment.
Assignment 240
Default constructor in java, constructor present in another class
Locked. Enroll to open this assignment.
Assignment 241
toBinaryString() Method in java, using predefined method
Locked. Enroll to open this assignment.
Assignment 242
parseInt() Method, parse int hexadecimal to int Decimal in java
Locked. Enroll to open this assignment.
Assignment 243
Conversion (primitive data type) int to (wrapper class) Float Number Object…
Locked. Enroll to open this assignment.
Assignment 244
Conversion (wrapper class) Float Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 245
Break statement in do while loop in java
Locked. Enroll to open this assignment.
Assignment 246
Example 1 — Valid switch case 1
Locked. Enroll to open this assignment.
Assignment 247
Accessing Array Elements in java
Locked. Enroll to open this assignment.
Assignment 248
Write a program to input integer elements into an array of size 20 and perform…
Locked. Enroll to open this assignment.
Assignment 249
Write a program to accept a string. Convert the string into upper case letters.
Locked. Enroll to open this assignment.
Assignment 250
Write a Java program to convert all the characters in a string to uppercase.
Locked. Enroll to open this assignment.
Assignment 251
Inheritance example in java
Locked. Enroll to open this assignment.
Assignment 252
instanceof operator, Understanding Real use of instanceof in java
Locked. Enroll to open this assignment.
Assignment 253
Static keyword in java, by inheritance
Locked. Enroll to open this assignment.
Assignment 254
Constructor Overloading in Java, Important Example
Locked. Enroll to open this assignment.
Assignment 255
isDigit in java
Locked. Enroll to open this assignment.
Assignment 256
parseLong() Method, Number System Conversion in java
Locked. Enroll to open this assignment.
Assignment 257
Wrapping data in Wrapper class
Locked. Enroll to open this assignment.
Assignment 258
Conversion (wrapper class) Byte Number Object to (primitive data type) byte
Locked. Enroll to open this assignment.
Assignment 259
Continue Statement in for loop in java
Locked. Enroll to open this assignment.
Assignment 260
Associativity and precedence in operators example in java
Locked. Enroll to open this assignment.
Assignment 261
Java Program to Demonstrate the boolean Data Type
Locked. Enroll to open this assignment.
Assignment 262
Example 1: Integer Array: Write a Java program to update array elements at…
Locked. Enroll to open this assignment.
Assignment 263
Write a program to input a number and check and print whether it is a Pronic…
Locked. Enroll to open this assignment.
Assignment 264
Write a program to input 10 integer elements in an array and sort them in…
Locked. Enroll to open this assignment.
Assignment 265
Write a short Java method, inputAllBaseTypes, that inputs a different value of…
Locked. Enroll to open this assignment.
Assignment 266
Write a Java program to concatenate a given string to the end of another string.
Locked. Enroll to open this assignment.
Assignment 267
Abstract class having constructor, data member, methods etc.
Locked. Enroll to open this assignment.
Assignment 268
Method Overriding in Java Example 3
Locked. Enroll to open this assignment.
Assignment 269
Understanding the problem without this keyword, this keyword to refer current…
Locked. Enroll to open this assignment.
Assignment 270
Method in java, Simple method Example other than main
Locked. Enroll to open this assignment.
Assignment 271
min() Method in java
Locked. Enroll to open this assignment.
Assignment 272
toString() Method in java conversion Byte to String
Locked. Enroll to open this assignment.
Assignment 273
Conversion (wrapper class) Short Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 274
Byte Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 275
Condition Checking inside if (OR)
Locked. Enroll to open this assignment.
Assignment 276
Java Program to Demonstrate Floating-Point Literals (float and double)
Locked. Enroll to open this assignment.
Assignment 277
Write a Java program to find out whether a year (entered in 4-digit number…
Locked. Enroll to open this assignment.
Assignment 278
Design a class to overload a function series( ) as follows:
Locked. Enroll to open this assignment.
Assignment 279
Write a program to accept the year of graduation from school as an integer…
Locked. Enroll to open this assignment.
Assignment 280
Vowel count Consonant Count Space Count and Digit count using Java
Locked. Enroll to open this assignment.
Assignment 281
Write a java program to print current date and time in the specified format.…
Locked. Enroll to open this assignment.
Assignment 282
Multiple inheritance in Java by interface, by same method name
Locked. Enroll to open this assignment.
Assignment 283
super keyword can be used to invoke parent class constructor
Locked. Enroll to open this assignment.
Assignment 284
static variable (also known as class variable)
Locked. Enroll to open this assignment.
Assignment 285
Class and Object Example: Initialization through method
Locked. Enroll to open this assignment.
Assignment 286
tan() Method in java
Locked. Enroll to open this assignment.
Assignment 287
compareTo() Method in java
Locked. Enroll to open this assignment.
Assignment 288
Conversion (wrapper class) Long Number Object to (primitive data type) short
Locked. Enroll to open this assignment.
Assignment 289
compareTo() Method in java
Locked. Enroll to open this assignment.
Assignment 290
Infinitive While Loop
Locked. Enroll to open this assignment.
Assignment 291
Java Unary Operator Example 2: ++ and --
Locked. Enroll to open this assignment.
Assignment 292
Write a java program to compute cosine series.
Locked. Enroll to open this assignment.
Assignment 293
Question 9
Locked. Enroll to open this assignment.
Assignment 294
Using the switch statement, write a menu driven program for the following: (i)…
Locked. Enroll to open this assignment.
Assignment 295
Write a program to input a string in uppercase and print the frequency of each…
Locked. Enroll to open this assignment.
Assignment 296
Write a Java program to find whether a region in the current string matches a…
Locked. Enroll to open this assignment.
Assignment 297
Fibonacci Series using Recursion
Locked. Enroll to open this assignment.
Assignment 298
static blank final variable:that is not initialized at the time of declaration…
Locked. Enroll to open this assignment.
Assignment 299
counter with static variable, problem solved
Locked. Enroll to open this assignment.
Assignment 300
Default constructor in java example 2
Locked. Enroll to open this assignment.
Assignment 301
toBinaryString() Method in java
Locked. Enroll to open this assignment.
Assignment 302
parseLong() Method in java
Locked. Enroll to open this assignment.
Assignment 303
Conversion (primitive data type) int to (wrapper class) Double Number Object…
Locked. Enroll to open this assignment.
Assignment 304
Conversion (wrapper class) Float Number Object to (primitive data type) float
Locked. Enroll to open this assignment.
Assignment 305
do while loop in java, Important Example
Locked. Enroll to open this assignment.
Assignment 306
AND Operator Example: Logical && vs Bitwise & in java
Locked. Enroll to open this assignment.
Assignment 307
Java Program to Demonstrate Multi-Line Comments
Locked. Enroll to open this assignment.
Assignment 308
Using switch statement, write a menu driven program for the following: To find…
Locked. Enroll to open this assignment.
Assignment 309
Given below is a hypothetical table showing rates of income tax for male…
Locked. Enroll to open this assignment.
Assignment 310
Write a Java program to convert all the characters in a string to lowercase.
Locked. Enroll to open this assignment.
Assignment 311
Java Programming Code for Two Dimensional (2D) Array
Locked. Enroll to open this assignment.
Assignment 312
instanceof operator, without the use of java instanceof
Locked. Enroll to open this assignment.
Assignment 313
Static Nested Class in java
Locked. Enroll to open this assignment.
Assignment 314
Constructor Overloading in Java
Locked. Enroll to open this assignment.
Assignment 315
isLetter in java
Locked. Enroll to open this assignment.
Assignment 316
parseShort() Method, parse Short Binary to short Decimal in java
Locked. Enroll to open this assignment.
Assignment 317
Wrapper class Wrapping and Unwrapping example 2
Locked. Enroll to open this assignment.
Assignment 318
Conversion (wrapper class) Character Number Object to (primitive data type) char
Locked. Enroll to open this assignment.
Assignment 319
Break Statement in for loop in java
Locked. Enroll to open this assignment.
Assignment 320
precedence in operators example in java
Locked. Enroll to open this assignment.
Assignment 321
Java Program to Demonstrate the double Data Type
Locked. Enroll to open this assignment.
Assignment 322
Copying Arrays in java
Locked. Enroll to open this assignment.
Assignment 323
Design a class RailwayTicket with following description:
Locked. Enroll to open this assignment.
Assignment 324
Write a program that encodes a word into Piglatin. To translate word into…
Locked. Enroll to open this assignment.
Assignment 325
Java Program to Print Diamond Pattern
Locked. Enroll to open this assignment.
Assignment 326
Write a java program to compare two strings lexicographically, ignoring case…
Locked. Enroll to open this assignment.
Assignment 327
Understanding the important real world abstract class
Locked. Enroll to open this assignment.
Assignment 328
Method Overriding in Java Example 2
Locked. Enroll to open this assignment.
Assignment 329
this Keyword with Method in java, Methods to call another Method from same…
Locked. Enroll to open this assignment.
Assignment 330
Method in java, Simple main method Example 2
Locked. Enroll to open this assignment.
Assignment 331
round() Method in java
Locked. Enroll to open this assignment.
Assignment 332
toString() Method in java conversion Float to String
Locked. Enroll to open this assignment.
Assignment 333
Conversion (wrapper class) Short Number Object to (primitive data type) byte
Locked. Enroll to open this assignment.
Assignment 334
Character Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 335
If-Else Ladder Statement, Marksheet Grade Card
Locked. Enroll to open this assignment.
Assignment 336
Java Program to Demonstrate Decimal Integer Literals
Locked. Enroll to open this assignment.
Assignment 337
Write a program to input 15 integer elements in an array and sort them in…
Locked. Enroll to open this assignment.
Assignment 338
Using the switch statement, write a menu driven program to calculate the…
Locked. Enroll to open this assignment.
Assignment 339
Vowel Count Consonant Count and Space Count in Java
Locked. Enroll to open this assignment.
Assignment 340
Write a Java program to compare a given string to another string, ignoring case…
Locked. Enroll to open this assignment.
Assignment 341
Multiple inheritance in Java by interface
Locked. Enroll to open this assignment.
Assignment 342
super keyword can be used to invoke parent class method: Example: Animal class
Locked. Enroll to open this assignment.
Assignment 343
this() constructor call, Real Utilization
Locked. Enroll to open this assignment.
Assignment 344
create multiple objects and store information in it through reference variable.
Locked. Enroll to open this assignment.
Assignment 345
cos() Method in java
Locked. Enroll to open this assignment.
Assignment 346
compare() Method in java Addition of Integer with Float
Locked. Enroll to open this assignment.
Assignment 347
Conversion (wrapper class) Long Number Object to (primitive data type) byte
Locked. Enroll to open this assignment.
Assignment 348
Double Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 349
While Loop in java, Print 1 to 10
Locked. Enroll to open this assignment.
Assignment 350
Unary Operator Example in Java
Locked. Enroll to open this assignment.
Assignment 351
Write a java program to find whether a given number is odd or even or prime.
Locked. Enroll to open this assignment.
Assignment 352
Question 8
Locked. Enroll to open this assignment.
Assignment 353
Define a class named BookFair with the following description:
Locked. Enroll to open this assignment.
Assignment 354
Write a program to store 6 elements in an array P and 4 elements in an array Q,…
Locked. Enroll to open this assignment.
Assignment 355
Write a java program to get the length of a given string.
Locked. Enroll to open this assignment.
Assignment 356
Printing the Fibonacci Series using Iteration different approach
Locked. Enroll to open this assignment.
Assignment 357
final variable: we can initialize blank final variable, but only in constructor.
Locked. Enroll to open this assignment.
Assignment 358
counter without static variable, problem
Locked. Enroll to open this assignment.
Assignment 359
Default constructor in java
Locked. Enroll to open this assignment.
Assignment 360
random() Method in java
Locked. Enroll to open this assignment.
Assignment 361
parseShort() Method in java
Locked. Enroll to open this assignment.
Assignment 362
Conversion (primitive data type) int to (wrapper class) Integer Number Object…
Locked. Enroll to open this assignment.
Assignment 363
Conversion (wrapper class)Integer Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 364
Infinite do while loop in java
Locked. Enroll to open this assignment.
Assignment 365
AND Operator Example: Logical && and Bitwise & in Java
Locked. Enroll to open this assignment.
Assignment 366
Java Program to Demonstrate Single-Line Comments
Locked. Enroll to open this assignment.
Assignment 367
Static initialization and Dynamic initialization in java
Locked. Enroll to open this assignment.
Assignment 368
Write a Java program to convert all the characters in a string to lowercase.
Locked. Enroll to open this assignment.
Assignment 369
Example of Multidimensional java array
Locked. Enroll to open this assignment.
Assignment 370
instanceof operator, downcasting with instanceof
Locked. Enroll to open this assignment.
Assignment 371
static block in java
Locked. Enroll to open this assignment.
Assignment 372
Parameterized Constructor, constructor present in same class, with method…
Locked. Enroll to open this assignment.
Assignment 373
char data type in java Example
Locked. Enroll to open this assignment.
Assignment 374
parseShort() Method, parse Short Octal to short Decimal in java
Locked. Enroll to open this assignment.
Assignment 375
Wrapper class Wrapping and Unwrapping
Locked. Enroll to open this assignment.
Assignment 376
Conversion (wrapper class) Boolean Number Object to (primitive data type)…
Locked. Enroll to open this assignment.
Assignment 377
for loop in java, different way
Locked. Enroll to open this assignment.
Assignment 378
Assignment Operator Example: Adding short by type casting in java
Locked. Enroll to open this assignment.
Assignment 379
Java Program to Demonstrate the float Data Type
Locked. Enroll to open this assignment.
Assignment 380
Searching in an Array in java
Locked. Enroll to open this assignment.
Assignment 381
Assignment: Using Java: Increment each number in an array by 1
Locked. Enroll to open this assignment.
Assignment 382
The International Standard Book Number (ISBN) is a unique numeric book…
Locked. Enroll to open this assignment.
Assignment 383
Program to copy all elements of one array into another array | Java
Locked. Enroll to open this assignment.
Assignment 384
Write a java program to compare two strings lexicographically.
Locked. Enroll to open this assignment.
Assignment 385
Understanding the important scenario of abstract class
Locked. Enroll to open this assignment.
Assignment 386
Method Overriding in Java
Locked. Enroll to open this assignment.
Assignment 387
this Keyword with Constructor in java, overloaded constructor in the same Class
Locked. Enroll to open this assignment.
Assignment 388
Method in java, Simple main method Example
Locked. Enroll to open this assignment.
Assignment 389
rint() Method in java
Locked. Enroll to open this assignment.
Assignment 390
toString() Method in java conversion Double to String
Locked. Enroll to open this assignment.
Assignment 391
Conversion (wrapper class) Short Number Object to (primitive data type) short
Locked. Enroll to open this assignment.
Assignment 392
Boolean Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 393
If else Statement in java, pass or fail.
Locked. Enroll to open this assignment.
Assignment 394
Java Program to Demonstrate Hexadecimal Literals as long
Locked. Enroll to open this assignment.
Assignment 395
Using the switch-case statement, write a menu driven program to do the…
Locked. Enroll to open this assignment.
Assignment 396
Design a class to overload a function area( ) as follows: double area (double…
Locked. Enroll to open this assignment.
Assignment 397
Vowel Count and Consonant Count using Java
Locked. Enroll to open this assignment.
Assignment 398
Write a Java program to check whether two String objects contain the same data.
Locked. Enroll to open this assignment.
Assignment 399
The java compiler adds public, static and final keywords before data members.
Locked. Enroll to open this assignment.
Assignment 400
super keyword can be used to invoke parent class method
Locked. Enroll to open this assignment.
Assignment 401
this keyword to pass as argument in the constructor call
Locked. Enroll to open this assignment.
Assignment 402
Class and Object Example: Initialization through reference
Locked. Enroll to open this assignment.
Assignment 403
sin() Method in java
Locked. Enroll to open this assignment.
Assignment 404
compare() Method in java
Locked. Enroll to open this assignment.
Assignment 405
Conversion (wrapper class) Long Number Object to (primitive data type) float
Locked. Enroll to open this assignment.
Assignment 406
Float Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 407
Nested if Statement in java
Locked. Enroll to open this assignment.
Assignment 408
Java Program to Demonstrate the Unicode System (Example 2): Unicode Escapes
Locked. Enroll to open this assignment.
Assignment 409
Write a java program to generate divisors of an integer.
Locked. Enroll to open this assignment.
Assignment 410
Question 7
Locked. Enroll to open this assignment.
Assignment 411
Using switch statement, write a menu driven program to:
Locked. Enroll to open this assignment.
Assignment 412
Write a menu-driven program to accept a number and check whether it is a prime…
Locked. Enroll to open this assignment.
Assignment 413
Write a Java program to get the last index of a string within a string. Sample…
Locked. Enroll to open this assignment.
Assignment 414
Program to print fibonacci series using for loop
Locked. Enroll to open this assignment.
Assignment 415
final method: final method is inherited but you cannot override it
Locked. Enroll to open this assignment.
Assignment 416
static variable with constructor and method
Locked. Enroll to open this assignment.
Assignment 417
Example for understanding class object and method
Locked. Enroll to open this assignment.
Assignment 418
toRadians() Method in java
Locked. Enroll to open this assignment.
Assignment 419
parseByte() Method with in java
Locked. Enroll to open this assignment.
Assignment 420
Conversion (wrapper class) Double Number Object to (primitive data type) long
Locked. Enroll to open this assignment.
Assignment 421
Conversion Integer Number Object to primitive data type int
Locked. Enroll to open this assignment.
Assignment 422
do while loop in java, print 10 to 19
Locked. Enroll to open this assignment.
Assignment 423
Shift Operator Example: >> vs >>> in Java
Locked. Enroll to open this assignment.
Assignment 424
Java Program to Demonstrate Single-Line, Multi-Line and Documentation Comments
Locked. Enroll to open this assignment.
Assignment 425
Define a class to accept values in integer array of size 10. Find sum of one…
Locked. Enroll to open this assignment.
Assignment 426
Write a program to accept a number and check and display whether it is a spy…
Locked. Enroll to open this assignment.
Assignment 427
Define a class called Library with the following description:
Locked. Enroll to open this assignment.
Assignment 428
instanceof operator, Nice example
Locked. Enroll to open this assignment.
Assignment 429
Simple Calculation using static method
Locked. Enroll to open this assignment.
Assignment 430
Parameterized Constructor, constructor present in same class, with method…
Locked. Enroll to open this assignment.
Assignment 431
char data type in java, char variables behave like integers.
Locked. Enroll to open this assignment.
Assignment 432
parseShort() Method, parse Short hexadecimal to short Decimal in java
Locked. Enroll to open this assignment.
Assignment 433
Conversion (primitive data type) int to (wrapper class) Integer Number Object…
Locked. Enroll to open this assignment.
Assignment 434
Conversion (wrapper class) Float Number Object to (primitive data type) double
Locked. Enroll to open this assignment.
Assignment 435
Infinite for loop in java
Locked. Enroll to open this assignment.
Assignment 436
Assignment Operator Example 2 in java
Locked. Enroll to open this assignment.
Assignment 437
Java Program to Demonstrate the long Data Type
Locked. Enroll to open this assignment.
Assignment 438
Sorting an Array in java
Locked. Enroll to open this assignment.
Assignment 439
Compare Average Scores and Find the Best Performing Group
Locked. Enroll to open this assignment.
Assignment 440
Define a class named FruitJuice with the following description:
Locked. Enroll to open this assignment.
Assignment 441
Static Method and Instance Method in Java
Locked. Enroll to open this assignment.
Assignment 442
Write a java program to count a number of Unicode code points in the specified…
Locked. Enroll to open this assignment.
Assignment 443
If you inherit an abstract class, you have to provide implementations to all…
Locked. Enroll to open this assignment.
Assignment 444
Multiple inheritance is not supported in java
Locked. Enroll to open this assignment.
Assignment 445
this keyword, Variable Hiding in java
Locked. Enroll to open this assignment.
Assignment 446
toString() in java
Locked. Enroll to open this assignment.
Assignment 447
floor() Method in java
Locked. Enroll to open this assignment.
Assignment 448
toString() Method in java, Conversion Integer to String
Locked. Enroll to open this assignment.
Assignment 449
Conversion (wrapper class) Byte Number Object to (primitive data type) double
Locked. Enroll to open this assignment.
Assignment 450
Labeled for loop in java, Example 2
Locked. Enroll to open this assignment.
Assignment 451
If Statement in java, pass or fail ?
Locked. Enroll to open this assignment.
Assignment 452
Java Program to Demonstrate Hexadecimal Integer Literals
Locked. Enroll to open this assignment.
Assignment 453
Design a class name ShowRoom with the following description:
Locked. Enroll to open this assignment.
Assignment 454
Write a program to assign a full path and file name as given below. Using…
Locked. Enroll to open this assignment.
Assignment 455
Vowel Count using Java
Locked. Enroll to open this assignment.
Assignment 456
Write a Java program to check whether a given string ends with the contents of…
Locked. Enroll to open this assignment.
Assignment 457
The java compiler adds public and abstract keywords before the interface method.
Locked. Enroll to open this assignment.
Assignment 458
super can be used to refer immediate parent class instance variable.
Locked. Enroll to open this assignment.
Assignment 459
this() constructor to invoke current class constructor, Another important…
Locked. Enroll to open this assignment.
Assignment 460
Object and Class Example: main outside class
Locked. Enroll to open this assignment.
Assignment 461
sqt() Method in java
Locked. Enroll to open this assignment.
Assignment 462
toString() Method in java conversion from all to String
Locked. Enroll to open this assignment.
Assignment 463
Conversion (wrapper class) Long Number Object to (primitive data type) int
Locked. Enroll to open this assignment.
Assignment 464
Long Wrapper class in Java
Locked. Enroll to open this assignment.
Assignment 465
Switch Statement with break in java, Based on Grade give a Remark
Locked. Enroll to open this assignment.
Assignment 466
Java Program to Demonstrate the Unicode System (Example 1)
Locked. Enroll to open this assignment.
Assignment 467
Write a java program to check whether the given number is palindrome or not.
Locked. Enroll to open this assignment.
Assignment 468
Question 6
Locked. Enroll to open this assignment.
Assignment 469
Write a program to input twenty names in an array. Arrange these names in…
Locked. Enroll to open this assignment.
Assignment 470
Shasha Travels Pvt. Ltd. provides discounts to its customers based on the…
Locked. Enroll to open this assignment.
Assignment 471
Write a Java program to get the canonical representation of the string object.
Locked. Enroll to open this assignment.
Assignment 472
Displaying Fibonacci Sequence using while loop
Locked. Enroll to open this assignment.
Assignment 473
final class: If you make any class as final, you cannot extend it.
Locked. Enroll to open this assignment.
Assignment 474
this keyword as Method parameter, Using Inheritance
Locked. Enroll to open this assignment.
Assignment 475
Creating multiple objects by one type only
Locked. Enroll to open this assignment.
Assignment 476
toDegrees() Method in java
Locked. Enroll to open this assignment.
Assignment 477
parseFloat() Method in java
Locked. Enroll to open this assignment.
Assignment 478
Conversion (wrapper class) Double Number Object to (primitive data type) double
Locked. Enroll to open this assignment.
Assignment 479
Conversion Integer Number Object to primitive data type short
Locked. Enroll to open this assignment.
Assignment 480
do while loop in java
Locked. Enroll to open this assignment.
Assignment 481
Shift Operator Example: Right Shift in Java
Locked. Enroll to open this assignment.
Assignment 482
Java Program to Print Your Name (My First Java Program)
Locked. Enroll to open this assignment.
Assignment 483
Define a class to accept values into an array of double data type of size 20.…
Locked. Enroll to open this assignment.
Assignment 484
Define a class ElectricBill with the following specifications:
Locked. Enroll to open this assignment.
Assignment 485
Write a menu-driven program to perform the following (using a switch-case…
Locked. Enroll to open this assignment.
Assignment 486
Write a Java program to create a character array containing the contents of a…
Locked. Enroll to open this assignment.
Assignment 487
Passing Array to method in java
Locked. Enroll to open this assignment.
Assignment 488
Write a Java program to count how many times a value appears in an array.
Locked. Enroll to open this assignment.
Assignment 489
Returning Single Value (Primitive)
Locked. Enroll to open this assignment.
Assignment 490
Write a Java program to search a user-entered value in an array.
Locked. Enroll to open this assignment.
Assignment 491
Reading names and storing them in a text file
Locked. Enroll to open this assignment.
Assignment 492
Program with Off-by-One Error
Locked. Enroll to open this assignment.
Assignment 493
Write a Java program to find the position (index) of the largest element in an…
Locked. Enroll to open this assignment.
Assignment 494
Returning Multiple Values Using Custom Class (Best Practice)
Locked. Enroll to open this assignment.
Assignment 495
Write a Java program to search multiple values in an array.
Locked. Enroll to open this assignment.
Assignment 496
Returning Multiple Values Using Array
Locked. Enroll to open this assignment.