Pergunta de entrevista da empresa Cognizant

basic question like inroduce urself, how to access variable outside class(inheritance) types of inheritance is multilevel inheritance a thing in java (no) what is other optn oops: what are 4 pillar implement multilevel inheritance(code) what is wrapper class coding: max num in array fibonacci series amstrong num neon num factorial prime num or prime factorial any sorting algo ur comfortable dbms: ddl vs dml indexing sharding partioning sql: inner join basic select print first 2 row and 2 column types of join thats it some senario based question to think my thinking process(what will u do in this scenaerio what kind of problem may arrise what will ur approach)