Java da constructor ne işe yarar?

Yapılandırıcı(Constructor ) Java ‘da nesne oluşturulduğu anda çalıştırılan özel bir metottur. Java ‘da yapılandırıcı tanımlanmazsa default(otomatik, öntanımlı) yapılandırıcı çalışmaktadır. Ancak bu yapılandırıcının içi boş olduğundan fark edemiyoruz(bir çıktı vermiyordu).

Read more

What is a parameter in C#?

Parameters act as variables inside the method . They are specified after the method name, inside the parentheses. You can add as many parameters as you want, just separate them with a comma. The following example has a method that takes a string called fname as parameter.

Read more