Language:EN
Pages: 4
Words: 194
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
problem uml diagram uml class diagram problem clas

Problem uml diagram uml class diagram problem class

Problem 1 (UML Diagram)

Method overloading means two or more methods within the same class that share the same name, as long as their parameter declarations are different

public String getData(String s) and public int getData(int i) are the different data type parameters and return type. It has no error

String data="Hello";

Integer value=10;

public String getData() {

return data;

return value;

}

public static void main(String[] args)

{

}

}

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Bhavin Yadav

PageId: DOC49A2FEC