dsPublic class a int k boolean istrue What is the output for the below code ?class A{ int k; boolean istrue; static int p; public…byAnthony