Core Java
Assignment 1
Theory:
[Link] Variable in Java? What are the naming rules of Variable?
[Link] Is Recursion?
[Link] is Object and Class?
[Link] Is Method in Java? Write Method Declaration Syntax.
[Link] JVM, JRE and JDK? And write commands to compile and to execute?
[Link] to create Object of Class in Java? Example.
[Link] To Declare Class in Java? Example.
[Link] Is Java Program Structure?
[Link] “this” Keyword?
[Link] in detail the data types in java?
[Link] in detail the features of Java?
[Link] New Operator.
[Link] term finalize () method.
[Link] Static Keyword.
[Link] is access specifiers/modifiers? List Them.
Program:
[Link] a Java Program to Swap 2 Numbers Without Using Third Variable.
[Link] a Java Program to reverse the content of String.
Ex. String s = “Java Program”;
Output: margorP avaJ // Output needs to come like this
[Link] a Java Program to print the Array Element Index + Value.
[Link] arr[] = {1,2,3,4}
Output: Index 0 – Value 1
Index 1 – Value 2
Index 3 – Value 4 // Output needs to come like this
[Link] a Java program to print below Star Pattern.
**
***
****
*****
Note: Submission Date 19/07/2025.