Horje
Salary example in method in java Code Example
Salary example in method in java
import java.util.Scanner;
public class Main{
    public staic void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Employee emp = new Employee();

        System.out.println("Enter Id:"+setEmployeeId(sc.nextInt()))
        System.out.println("Enter Name:"+setEmployeeName(sc.next()));
        System.out.println("Enter salary:"+setSalary(sc.nextDouble()));

        System.out.println("Enter PF percentage:");
        double pfpercentage = sc.nextDouble();

        public static Employee getEmployeeDetails(){


        }

        public static int getPFPercentage(){

        }

    }
}




Java

Related
print * pattern in java Code Example print * pattern in java Code Example
sql exception java Code Example sql exception java Code Example
bukkit how to make a cancelable event Code Example bukkit how to make a cancelable event Code Example
com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 28 path $ at com.google.gson.Gson.assertFullConsumption(Gson.java:903) com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 28 path $ at com.google.gson.Gson.assertFullConsumption(Gson.java:903)
background for anchor in javafx Code Example background for anchor in javafx Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10