You are on page 1of 7

Lab Digital Assignment - 1

Name – Tanay Dubey


Registration Number – 19BCT0185
Course Code and Name – CSE1007 Java Programming
Embedded Lab Component
Faculty Name – Gopichand G
Slot – L27+28
Fall Semester 2020-21
Q1) Write a program to display any message
Soln)
Code

Output
Q2) Write a Java program to display default
value of all primitive data types of Java.
Soln)
Code

Output
Q3) Write a program check two strings are
equal or not.
Soln)
Code

Output
Q4) Write a program give example for
command line arguments.
Soln)
Code

Output
Q5) Write a program to check or a given
number is Armstrong number or not.
Soln)
Code
Output

You might also like