0% found this document useful (0 votes)
3 views

Basics of Java

The document outlines a series of programming tasks, including variable declaration, arithmetic operations, and methods creation in various forms. It covers topics such as constructors, variable scope, and the use of static and non-static methods. The tasks are aimed at enhancing programming skills and understanding of object-oriented concepts.

Uploaded by

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

Basics of Java

The document outlines a series of programming tasks, including variable declaration, arithmetic operations, and methods creation in various forms. It covers topics such as constructors, variable scope, and the use of static and non-static methods. The tasks are aimed at enhancing programming skills and understanding of object-oriented concepts.

Uploaded by

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

MILE

01. Write a statement to declare two integers called i and j.


02. Write a statement which assigns the value 67 to the integer variable "I".
03. Write a statement, using the cast operator, to print out the integer part of the number 23.1256.
04. Write a program to perform all arithmetic operations?
05. Write a program to find the sum and average of three numbers?
06. Write a program to find the area of the circle? Write a program to find the Cube of the given number?
07. Write a program to create an object in different ways?
08. Write a program to create multiple methods with different return types?
09. Write a program to create multiple methods with different numbers of parameters?
10. Write a program to create and call a default constructor.
11. Write a program to create and call a parameter constructor.
12. Write a program to create and call no argument constructor.
13. Write a program to call multiple constructors with a single constructor.
14. Write a program to create and call different types of Variables?
15. Write a program to explain the scope of variables?
16.Program to Show Use of Static and Non-static Methods?

www.miraclesoft.com Email: vspjobs@miraclesoft com

You might also like