This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NumberFormat us = NumberFormat.getCurrencyInstance(Locale.US); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main.Java; | |
import java.util.Scanner; | |
import java.text.NumberFormat; | |
import java.util.Locale; | |
public class JavaCurrencyFormatter { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.Emp_name,a.Emp_Role,b.Dept_id,b.Dept_name,b.Location | |
FROM employees a | |
RIGHT JOIN departments b | |
on a.Dept_id = b.Dept_id | |
ORDER BY a.Emp_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.emp_id, a.emp_name, b.Department_name | |
FROM employees a | |
INNER JOIN Departments b | |
ON a.Dept_id = b.Dept_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.Emp_name,b.Dept_name | |
FROM employees a | |
INNER JOIN departments b | |
ON a.Dept_id=b.Dept_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.Emp_name, b.Department_name | |
FROM Employees a | |
CROSS JOIN Departments b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.emp_name,b.Dept_name | |
FROM employees a | |
CROSS JOIN departments b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.Emp_name,a.Emp_Hire_date,b.Dept_name | |
FROM Employees a | |
LEFT OUTER JOIN Departments b | |
ON a.Dept_id = b.Dept_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.Emp_id, a.Emp_name,a.Emp_Hire_date,b.Dept_name | |
FROM employees a | |
LEFT JOIN departments b | |
ON a.Dept_id=b.Dept_id | |
ORDER BY a.Emp_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.databinding.DataBindingUtil | |
import android.support.v7.app.AppCompatActivity | |
import android.os.Bundle | |
import com.processmap.databindingexample.databinding.ActivityMainBinding | |
class MainActivity : AppCompatActivity() { | |
private var mBinding: ActivityMainBinding? = null //This ActivityMainBinding class is auto generated by data binding library for us | |
override fun onCreate(savedInstanceState: Bundle?) { |