Posts

Showing posts from June, 2023

Learn DevOps and Cloud Computing -- FREE Certificates -- , build your knowledge

Image
  Learn DevOps and Cloud Computing           -- FREE Certificates -- ❯ GIT https://lnkd.in/daFepCTU >GIT ❯ Linux https://lnkd.in/diVAhWEE >LiNUX ❯ DevOps https://lnkd.in/dW9RC6Rc ❯ CI/CD https://lnkd.in/di7-Qxsp ❯ Docker https://lnkd.in/dUJWqkJT ❯ Kubernetes https://lnkd.in/dkSTBG-v ❯ Cloud Computing https://lnkd.in/ddvbxt-3 ❯ AWS https://lnkd.in/dCuVwnb7 ❯ Azure https://lnkd.in/dn-5UQCB ❯ GCP https://lnkd.in/dQzADFBN ❯ Serverless https://lnkd.in/ddTa9xAZ ❯ Jenkins https://lnkd.in/dm7Ejdgn ❯ Puppet https://lnkd.in/d4FN78EE ❯ Chef https://lnkd.in/dnCR9FKc ❯ Ansible https://lnkd.in/dTgiKe3x ❯ Selenium https://lnkd.in/d5DDzMev ❯ GitHub https://lnkd.in/d3aXZaEr ❯ VirtualBox & vSphere https://lnkd.in/duJDuaQn Follow Nishant Sharma for more #free Courses. Join Telegram for Free Coding Resources: telegram.me/CodeWithNikk52 #devops #coding #Cloud Computing #docker #github. #knowledge #Engineering

Java Program Prectiece question

  Return the Sum of Two Numbers Create a method that takes two integers as arguments and returns their sum. Examples SumOfTwoNumbers(3, 2) ➞ 5 SumOfTwoNumbers(-3, -6) ➞ -9 SumOfTwoNumbers(7, 3) ➞ 10 methoid 1- public class SumCalculator { public static void main ( String [] args ) { int num1 = 7 ; int num2 = 3 ; int sum = calculateSum ( num1 , num2 ) ; System . out .println( "The sum of " + num1 + " and " + num2 + " is: " + sum ) ; } public static int calculateSum ( int a , int b ) { return a + b ; } } Method 2- public class SumCalculator { public static void main ( String [] args ) { int num1 = 3 ; int num2 = 7 ; int sum = calculateSum ( num1 , num2 ) ; System . out .println( "The sum of " + num1 + " and " + num2 + " is: " + sum ) ; } public static int calculateSum ( int a , int b ) { int sum = 0 ; for ( int i...