0% found this document useful (0 votes)
10 views2 pages

Core Java Assignment: Concepts & Programs

The document outlines an assignment on Core Java, consisting of theoretical questions and programming tasks. Key topics include variable definitions, recursion, object-oriented concepts, method syntax, and Java program structure. Additionally, it includes programming exercises such as swapping numbers, reversing strings, printing array elements, and creating a star pattern, with a submission date of July 19, 2025.

Uploaded by

dhekalesakshi64
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Core Java Assignment: Concepts & Programs

The document outlines an assignment on Core Java, consisting of theoretical questions and programming tasks. Key topics include variable definitions, recursion, object-oriented concepts, method syntax, and Java program structure. Additionally, it includes programming exercises such as swapping numbers, reversing strings, printing array elements, and creating a star pattern, with a submission date of July 19, 2025.

Uploaded by

dhekalesakshi64
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like