Accenture Interview Question

about Java OOP concepts and in SQL DDL queries, functions